Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
CONTRIBUTING: include `super` in import examples
Fintan Halpenny committed 3 months ago
commit 97e9e77c2ac8ee69b4d11922f3299225c76c2bc4
parent 9ddc99e1be7ae4b33d7c959237bd8559f8532811
1 file changed +3 -1
modified CONTRIBUTING.md
@@ -145,10 +145,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