Skip to content

Commit fbddd98

Browse files
committed
fix docs
1 parent bd6b1de commit fbddd98

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ futures-lite = "2.3.0"
3636
futures-util = { version = "0.3.25" }
3737
hex = "0.4"
3838
iroh-base = "0.28.0"
39-
iroh-blobs = { version = "0.28.0", optional = true, features = ["downloader"] }
39+
iroh-blobs = { version = "0.28.0", optional = true, features = ["downloader", "rpc"] }
4040
iroh-gossip = { version = "0.28.0", optional = true }
4141
iroh-metrics = { version = "0.28.0", default-features = false }
4242
iroh-net = { version = "0.28.0", optional = true }

src/cli.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ impl ConsolePaths {
6666
/// Environment for CLI and REPL
6767
///
6868
/// 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
7070
/// environment is only supported within the console.
7171
#[derive(Clone, Debug)]
7272
pub struct ConsoleEnv(Arc<RwLock<ConsoleEnvInner>>);
7373

7474
#[derive(PartialEq, Eq, Debug, Deserialize, Serialize, Clone)]
7575
struct ConsoleEnvInner {
7676
/// 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.
7878
/// Defaults to the node's default author if both are empty.
7979
author: AuthorId,
8080
/// Active doc. Read from IROH_DOC env variable. Not persisted.
@@ -292,11 +292,11 @@ pub enum DlPolicyCmd {
292292
/// Set the general download policy for this document.
293293
kind: FetchKind,
294294
/// 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>`.
296296
///
297297
/// - <matching_kind> can be either `prefix` or `exact`.
298298
///
299-
/// - <encoding> can be either `utf8` or `hex`.
299+
/// - `<encoding>` can be either `utf8` or `hex`.
300300
#[clap(short, long, value_name = "matching_kind>:<encoding>:<pattern")]
301301
except: Vec<FilterKind>,
302302
},
@@ -903,7 +903,7 @@ impl DocCommands {
903903
}
904904
}
905905

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`]).
907907
async fn get_doc(
908908
docs: &docs::Client,
909909
env: &ConsoleEnv,

0 commit comments

Comments
 (0)