mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
CONTRIBUTING: include super in import examples
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user