about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2024-06-13 11:59:22 -0700
committerKevin Reid <kpreid@switchb.org>2024-06-14 13:13:27 -0700
commit416888f05b996f74eb696ed46c4eb3359a616f72 (patch)
tree30c26506550410eb3ff52c2cdb02912a13f9f189 /compiler/rustc_codegen_llvm/src
parentf8e566053207b4ecbcbc7a7d6ded82c43061e3da (diff)
downloadrust-416888f05b996f74eb696ed46c4eb3359a616f72.tar.gz
rust-416888f05b996f74eb696ed46c4eb3359a616f72.zip
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