CONTRIBUTING: include super in import examples

This commit is contained in:
Fintan Halpenny
2026-05-27 11:04:47 +01:00
parent 01df41bf01
commit 3e1a02fdb1
+3 -1
View File
@@ -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