Skip to content

Conversation

smirzaei
Copy link

@smirzaei smirzaei commented Sep 7, 2025

This PR adds the missing error documentation for both Path.canonicalize and PathBuf.canonicalize methods. Since both methods are wappers around fs::canonicalize, the error doc is copied directly from that function.

This makes it faster to find what errors might arise when calling path.canonicalize or path_buf.canonicalize in the editor itself without needing to drill down to the fs::canonicalzie docs.

@rustbot
Copy link
Collaborator

rustbot commented Sep 7, 2025

r? @jhpratt

rustbot has assigned @jhpratt.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Sep 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants