X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=RELEASES.md;h=10e485c1a40d56f4c4ea92a33fbc0f1ec518b40e;hb=451d4925f7bf98f069c553e6af8f549f57ab6efa;hp=0a5896a6665a79650dd0ab74521f5a757c925920;hpb=c75a1f0e4dfd6e4a3929bc6496018734b5ef60c9;p=rust.git diff --git a/RELEASES.md b/RELEASES.md index 0a5896a6665..10e485c1a40 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -62,9 +62,9 @@ Cargo - [Cargo.lock now uses a more git friendly format that should help to reduce merge conflicts.][cargo/7579] - [You can now override specific dependencies's build settings][cargo/7591] E.g. - `[profile.dev.overrides.image] opt-level = 2` sets the `image` crate's + `[profile.dev.package.image] opt-level = 2` sets the `image` crate's optimisation level to `2` for debug builds. You can also use - `[profile..build_overrides]` to override build scripts and + `[profile..build-override]` to override build scripts and their dependencies. Misc @@ -75,8 +75,7 @@ Misc should be compiled the 2018 edition of Rust. - [You can now provide custom themes to rustdoc with `--theme`, and check the current theme with `--check-theme`.][54733] -- [You can use `#[doc(cfg(item))]` to document that a item is only available with - certain features.][61351] +- [You can use `#[cfg(doc)]` to compile an item when building documentation.][61351] Compatibility Notes -------------------