about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-06-15 14:40:49 +0200
committerGitHub <noreply@github.com>2024-06-15 14:40:49 +0200
commita2249027cda5e59d293a2b013551d87bc68c0323 (patch)
treeaeceaaf6a7479b56744a362713a78b59fae32f63 /compiler/rustc_codegen_llvm/src
parent21de99258fbed776d797a3e91513e5ca78474f9d (diff)
parent416888f05b996f74eb696ed46c4eb3359a616f72 (diff)
downloadrust-a2249027cda5e59d293a2b013551d87bc68c0323.tar.gz
rust-a2249027cda5e59d293a2b013551d87bc68c0323.zip
Rollup merge of #126428 - kpreid:absolute, r=jhpratt
Polish `std::path::absolute` documentation.

These changes bring it closer to other standard library documentation and, in particular, `std::fs::canonicalize`, which it will often be compared with.

* Add `# Platform-specific behavior` section, with content moved from Examples section.
* Create `# Errors` section.
* Phrase error description to allow future platforms to have new syntactic errors, rather than only emptiness.
* Add missing commas.
* Indent example code 4 spaces.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions