summaryrefslogtreecommitdiff
path: root/rust/kernel/security.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2025-08-29 21:22:42 +0200
committerMiguel Ojeda <ojeda@kernel.org>2025-09-10 00:10:10 +0200
commit099381a08db3539c6aab6616c94d7950d74fcd2d (patch)
treefc70474910283635a7f962bf6b36035660e68525 /rust/kernel/security.rs
parent58b4aa53606f75c7d6e6cd4710da4d4399e8f667 (diff)
rust: error: improve `to_result` documentation
Core functions like `to_result` should have good documentation. Thus improve it, including adding an example of how to perform early returns with it. Reviewed-by: Benno Lossin <lossin@kernel.org> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/security.rs')
0 files changed, 0 insertions, 0 deletions