diff options
author | Miguel Ojeda <ojeda@kernel.org> | 2024-11-17 14:31:27 +0100 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2024-11-25 00:10:29 +0100 |
commit | b160dc46dd9af4001c802cc9c7d68b6ba58d27c4 (patch) | |
tree | b58dbc2a9e85a13930fc090719d0a23aef24a96b /rust/kernel/alloc/layout.rs | |
parent | 60fc1e6750133620e404d40b93df5afe32e3e6c6 (diff) |
docs: rust: remove spurious item in `expect` list
This list started as a "when to prefer `expect`" list, but at some point
during writing I changed it to a "prefer `expect` unless..." one. However,
the first bullet remained, which does not make sense anymore.
Thus remove it. In addition, fix nearby typo.
Fixes: 04866494e936 ("Documentation: rust: discuss `#[expect(...)]` in the guidelines")
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://lore.kernel.org/r/20241117133127.473937-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/layout.rs')
0 files changed, 0 insertions, 0 deletions