aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2025-08-29 21:22:41 +0200
committerMiguel Ojeda <ojeda@kernel.org>2025-09-10 00:10:10 +0200
commit58b4aa53606f75c7d6e6cd4710da4d4399e8f667 (patch)
treeae329843a71123a7832940bb3694f1fa923e9c6e /rust/kernel/alloc/kvec/errors.rs
parentrust: cpufreq: replace `MaybeUninit::zeroed().assume_init()` with `pin_init::zeroed()` (diff)
downloadwireguard-linux-58b4aa53606f75c7d6e6cd4710da4d4399e8f667.tar.xz
wireguard-linux-58b4aa53606f75c7d6e6cd4710da4d4399e8f667.zip
rust: error: improve `Error::from_errno` documentation
This constructor is public since commit 5ed147473458 ("rust: error: make conversion functions public"), and we will refer to it from the documentation of `to_result` in a later commit. Thus improve its documentation, including adding examples. Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Benno Lossin <lossin@kernel.org> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions