Apply suggestions from code review
Co-authored-by: Miguel Ojeda <ojeda@users.noreply.github.com>
This commit is contained in:
parent
cc5667a094
commit
8dbbe78be6
1 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ Version 1.51.0 (2021-03-25)
|
|||
Language
|
||||
--------
|
||||
- [You can now parameterize items such as functions, traits, and `struct`s by constant
|
||||
values in addition to by types.][78135] E.g. You can now write the following. Note:
|
||||
values in addition to by types.][78135] E.g. you can now write the following. Note:
|
||||
Only values of primitive integers, `bool`, or `char` types are currently permitted.
|
||||
```rust
|
||||
struct GenericArray<T, const LENGTH: usize> {
|
||||
|
@ -82,7 +82,7 @@ Rustdoc
|
|||
|
||||
Various improvements to intra-doc links:
|
||||
|
||||
- [You can link to no path based primitives such as `slice`.][80181]
|
||||
- [You can link to non-path primitives such as `slice`.][80181]
|
||||
- [You can link to associated items.][74489]
|
||||
- [You can now link to items with generics such as `Vec<T>`.][76934]
|
||||
|
||||
|
@ -96,7 +96,7 @@ Compatibility Notes
|
|||
|
||||
- [Bumped the minimum `g++` for `linux-gnu` targets to `g++-8` from `g++-7`.][81521]
|
||||
- [WASI platforms no longer use the `wasm-bindgen` ABI.][79998]
|
||||
- [rustc no longer promotes division, modulo and indexing operations to `const` that
|
||||
- [`rustc` no longer promotes division, modulo and indexing operations to `const` that
|
||||
could fail.][80579]
|
||||
|
||||
Internal Only
|
||||
|
|
Loading…
Add table
Reference in a new issue