@@ -66,15 +66,15 @@ impl ConsolePaths {
66
66
/// Environment for CLI and REPL
67
67
///
68
68
/// This is cheaply cloneable and has interior mutability. If not running in the console
69
- /// environment, [ Self::set_doc] and [ Self::set_author] will lead to an error, as changing the
69
+ /// environment, ` Self::set_doc` and ` Self::set_author` will lead to an error, as changing the
70
70
/// environment is only supported within the console.
71
71
#[ derive( Clone , Debug ) ]
72
72
pub struct ConsoleEnv ( Arc < RwLock < ConsoleEnvInner > > ) ;
73
73
74
74
#[ derive( PartialEq , Eq , Debug , Deserialize , Serialize , Clone ) ]
75
75
struct ConsoleEnvInner {
76
76
/// Active author. Read from IROH_AUTHOR env variable.
77
- /// For console also read from/persisted to a file (see [`ConsolePaths::DefaultAuthor`])
77
+ /// For console also read from/persisted to a file.
78
78
/// Defaults to the node's default author if both are empty.
79
79
author : AuthorId ,
80
80
/// Active doc. Read from IROH_DOC env variable. Not persisted.
@@ -292,11 +292,11 @@ pub enum DlPolicyCmd {
292
292
/// Set the general download policy for this document.
293
293
kind : FetchKind ,
294
294
/// Add an exception to the download policy.
295
- /// An exception must be formatted as <matching_kind>:<encoding>:<pattern>.
295
+ /// An exception must be formatted as ` <matching_kind>:<encoding>:<pattern>` .
296
296
///
297
297
/// - <matching_kind> can be either `prefix` or `exact`.
298
298
///
299
- /// - <encoding> can be either `utf8` or `hex`.
299
+ /// - ` <encoding>` can be either `utf8` or `hex`.
300
300
#[ clap( short, long, value_name = "matching_kind>:<encoding>:<pattern" ) ]
301
301
except : Vec < FilterKind > ,
302
302
} ,
@@ -903,7 +903,7 @@ impl DocCommands {
903
903
}
904
904
}
905
905
906
- /// Gets the document given the client, the environment (and maybe the [`NamespaceID `]).
906
+ /// Gets the document given the client, the environment (and maybe the [`crate::keys::NamespaceId `]).
907
907
async fn get_doc (
908
908
docs : & docs:: Client ,
909
909
env : & ConsoleEnv ,
0 commit comments