Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW
Fintan Halpenny committed 7 months ago
commit 35ecb1cfa89e995313934817efeb719f89738888
parent 0d9aba770b3671282f06f197afc84921d1dcb193
1 file changed +4 -3
modified crates/radicle/src/storage.rs
@@ -673,9 +673,10 @@ where
/// Allows read-write access to a repository.
pub trait WriteRepository: ReadRepository + SignRepository {
    /// Sets the canonical symbolic references.
-
    /// This only depends on the cref payload in the identity document
-
    /// document, and does not require the targeted canonical references
-
    /// to be computed, or even exist.
+
    ///
+
    /// This only depends on the cref payload in the identity document, and does
+
    /// not require the targeted canonical references to be computed, or even
+
    /// exist.
    fn set_canonical_symbolic_refs(&self, message: &str) -> Result<(), RepositoryError> {
        for (name, target) in self.identity_doc()?.canonical_refs()?.symbolic().iter() {
            self.set_symbolic_ref(name, target, message)?;