Skip to content

Commit

Permalink
docs(iroh-cli): fix typo (#2718)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
palozano authored Sep 6, 2024
1 parent 7b6c974 commit d2ecbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh-cli/src/commands/docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d2ecbdb

Please sign in to comment.