radicle: fix `parse_ref_*` documentation
The parse_ref and parse_ref_namespaced documentation used 4 space
indentation for the reference names. Unfortunately, cargo test attempts to
interpret this as code.
Use triple-backtick code fencing, with text and no_run, instead.
1 file changed
+6
-2
ee0d19f2
→
62d000f7
modified radicle/src/git.rs
@@ -446,7 +446,9 @@ pub fn remote_refs(url: &Url) -> Result<RandomMap<RemoteId, Refs>, ListRefsError
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -473,7 +475,9 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|