@@ -29,23 +29,22 @@ Cargo
2929 ` --locked ` to disable this behaviour.
3030- [ ` cargo-install ` will now ignore the target triple specified in a project
3131 directory's ` .cargo/config ` .] [ cargo/5606 ]
32- - [ ` cargo-install ` will now allow you to cross compile an install
33- using ` --target ` ] [ cargo/5614 ]
34- - [ Added the ` cargo-fix ` to automatically move project code from 2015 edition
35- to 2018.] [ cargo/5723 ]
32+ - [ Added the ` cargo-fix ` subcommand to automatically move project code from
33+ 2015 edition to 2018.] [ cargo/5723 ]
3634
3735Misc
3836----
39- - [ ` rustdoc ` now has the ` --cap-lints ` which allows you to set what level of
40- lint will cause and compilation failure.] [ 52354 ]
41- - [ ` rustc ` and ` rustdoc ` will now have the exit code of one if compilation
42- fails, and 101 if there is a panic.] [ 52197 ]
37+ - [ ` rustdoc ` now has the ` --cap-lints ` option which demotes all lints above
38+ the specified level to that level.] [ 52354 ] For example ` --cap-lints warn `
39+ will demote ` deny ` and ` forbid ` lints to ` warn ` .
40+ - [ ` rustc ` and ` rustdoc ` will now have the exit code of ` 1 ` if compilation
41+ fails, and ` 101 ` if there is a panic.] [ 52197 ]
4342
4443Compatibility Notes
4544-------------------
4645- [ ` str::{slice_unchecked, slice_unchecked_mut} ` are now deprecated.] [ 51807 ]
4746 Use ` str::get_unchecked(begin..end) ` instead.
48- - [ ` std::env::home_dir ` is now deprecated for it's unintuitive behaviour.] [ 51656 ]
47+ - [ ` std::env::home_dir ` is now deprecated for its unintuitive behaviour.] [ 51656 ]
4948 Consider using the ` home_dir ` function from
5049 https://crates.io/crates/dirs instead.
5150- [ ` rustc ` will no longer silently ignore invalid data in target spec.] [ 52330 ]
@@ -67,7 +66,6 @@ Compatibility Notes
6766[ 51178 ] : https://github.com/rust-lang/rust/pull/51178/
6867[ 50494 ] : https://github.com/rust-lang/rust/pull/50494/
6968[ cargo/5606 ] : https://github.com/rust-lang/cargo/pull/5606/
70- [ cargo/5614 ] : https://github.com/rust-lang/cargo/pull/5614/
7169[ cargo/5723 ] : https://github.com/rust-lang/cargo/pull/5723/
7270[ cargo/5831 ] : https://github.com/rust-lang/cargo/pull/5831/
7371[ `Arc::downcast` ] : https://doc.rust-lang.org/std/sync/struct.Arc.html#method.downcast
0 commit comments