From 3e1a02fdb1f86bace1b16452c26fdba5c5b1b87f Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Wed, 14 Jan 2026 15:08:57 +0000 Subject: [PATCH] CONTRIBUTING: include `super` in import examples --- CONTRIBUTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8bf49a8d..6bc7a799 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -163,10 +163,12 @@ Imports are organized in groups, from least specific to more specific: use git_ref_format as format; // Then, external dependencies. use serde_json::Value; - use crate::crypto::PublicKey; // Finally, local crate imports. + use crate::crypto::PublicKey; // Then, local crate imports. use crate::storage::refs::Refs; use crate::storage::RemoteId; + use super::Oid; // Finally, super imports. + #### Variable naming Use short 1-letter names when the variable scope is only a few lines, or the context is