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.) |
||
|---|---|---|
| .. | ||
| union-const-eval.rs | ||
| union-derive-eq.rs | ||
| union-derive-eq.stderr | ||
| union-fields-1.rs | ||
| union-fields-1.stderr | ||
| union-fields-2.rs | ||
| union-fields-2.stderr | ||
| union-sized-field.rs | ||
| union-sized-field.stderr | ||
| union-suggest-field.rs | ||
| union-suggest-field.stderr | ||