about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-21 01:39:18 +0200
committerGitHub <noreply@github.com>2019-10-21 01:39:18 +0200
commit8bdae3af171c957bfa46ae1ce6b03f1fb0ef501a (patch)
treea7ccf8f12e2f216b8c21c14d6e4363518667ffc6 /src/libstd/sys/unix/stack_overflow.rs
parent041c65410532a5d0dddec475c85cfa57648e712f (diff)
parent040d88dda1c65d6cb3cd5df5e81075a281f90da4 (diff)
downloadrust-8bdae3af171c957bfa46ae1ce6b03f1fb0ef501a.tar.gz
rust-8bdae3af171c957bfa46ae1ce6b03f1fb0ef501a.zip
Rollup merge of #65633 - Rantanen:doc-example-paths, r=Centril
Remove leading :: from paths in doc examples

Noted some pre-2018 path syntax in the doc examples, for example:
https://doc.rust-lang.org/std/process/fn.exit.html

```rust
fn main() {
    ::std::process::exit(match run_app() {
       Ok(_) => 0,
       ...
```

Couldn't find an existing issue on this (then again, "::" makes for an annoying thing to search for) so if there is already something fixing this and/or there's a reason to not fix it, just close this PR.

(Also fixed indentation in the `process::exit()` docs)
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions