mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-04 08:01:34 +00:00
docs(iroh-cli): fix typo (#2718)
## Description Fixes a typo introduced in a previous PR. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## 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.
This commit is contained in:
@@ -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<PathBuf> {
|
||||
let path = PathBuf::from(shellexpand::tilde(&path).to_string());
|
||||
Ok(path)
|
||||
|
||||
Reference in New Issue
Block a user