about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorFelix Rabe <felix@rabe.io>2018-07-15 19:10:47 +0200
committerFelix Rabe <felix@rabe.io>2018-07-17 14:10:11 +0200
commit88e9af0375ba31d91523143b45088f5a481cb76e (patch)
treee0e16be6f8f397000357f40f68a7ded5e9ec4233 /src/libstd/sys/unix/stack_overflow.rs
parent2ddc0cbd56ff1695f24b4f5daa14642bd21e4af0 (diff)
downloadrust-88e9af0375ba31d91523143b45088f5a481cb76e.tar.gz
rust-88e9af0375ba31d91523143b45088f5a481cb76e.zip
Fix doc link
The link for comparison:

-   https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types--sized (broken)

-   https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-sized (fixed)

This commit is the result of (first) searching via:

    find src -type f -print0 | xargs -0 fgrep -l dynamically-sized-types--sized

and then replacing all relevant occurrences via:

    find src/{libcore,test/ui} -type f -print0 | xargs -0 sed -i.bak \
      s/dynamically-sized-types--sized/dynamically-sized-types-and-sized/g
    find src/{libcore,test/ui} -type f -name '*.bak' -print0 | xargs -0 rm

(Note: Commands run on macOS 10.13 (BSD).  `sed -i.bak` should work on
GNU/Linux as well, but not tested.)
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions