CONTRIBUTING: include `super` in import examples
This commit is contained in:
parent
01df41bf01
commit
3e1a02fdb1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue