From d2ecbdbf7f26bfc224f797571c2bdefd6fdadbdf Mon Sep 17 00:00:00 2001 From: Pablo Date: Fri, 6 Sep 2024 16:16:27 +0200 Subject: [PATCH] docs(iroh-cli): fix typo (#2718) ## Description Fixes a typo introduced in a previous PR. ## Breaking Changes ## Notes & open questions ## Change checklist - [ ] Self-review. - [X] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. --- iroh-cli/src/commands/docs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iroh-cli/src/commands/docs.rs b/iroh-cli/src/commands/docs.rs index c229357a2b..b5235d6be6 100644 --- a/iroh-cli/src/commands/docs.rs +++ b/iroh-cli/src/commands/docs.rs @@ -743,7 +743,7 @@ async fn fmt_entry(doc: &Doc, entry: &Entry, mode: DisplayContentMode) -> String format!("@{author}: {key} = {content} ({len})") } -/// Converts a path to a cannonical path. +/// Converts a path to a canonical path. fn canonicalize_path(path: &str) -> anyhow::Result { let path = PathBuf::from(shellexpand::tilde(&path).to_string()); Ok(path)