diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-08 16:34:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-08 16:34:57 +0200 |
| commit | d1ab870a07214a91a223fa60d7080064d13259fc (patch) | |
| tree | 408f006c34c9330ca53bb6f41e2f5e70e229268f /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 9a1feef5d8305b78a2b4955e322c2aaf628bd02b (diff) | |
| parent | 4b5d0e02ca2647bf1efb2ecd3303c21ead64d2ea (diff) | |
| download | rust-d1ab870a07214a91a223fa60d7080064d13259fc.tar.gz rust-d1ab870a07214a91a223fa60d7080064d13259fc.zip | |
Rollup merge of #146299 - smirzaei:doc/improve-path-canonicalize-docs, r=jhpratt
docs(std): add error docs for path canonicalize This PR adds the missing error documentation for both [Path.canonicalize](https://doc.rust-lang.org/std/path/struct.Path.html#method.canonicalize) and [PathBuf.canonicalize](https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.canonicalize) methods. Since both methods are wappers around [fs::canonicalize](https://doc.rust-lang.org/std/fs/fn.canonicalize.html), 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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
