Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cob: fix documentation
Merged fintohaps opened 1 year ago

no_run will compile but not run the code. Use ignore instead, and also added rust for syntax highlighting.

1 file changed +1 -1 5fe3d5a7 61865b5b
modified radicle-cob/src/backend/git/stable.rs
@@ -53,7 +53,7 @@ pub fn read_timestamp() -> i64 {
///
/// # Usage
///
-
/// ```no_run
+
/// ```rust, ignore
/// let oid1 = with_advanced_timestamp(|| cob.update("New revision OID"));
/// let oid2 = with_advanced_timestamp(|| cob.update("Another revision OID"));
/// ```