diff options
author | Onur Özkan <work@onurozkan.dev> | 2025-08-21 12:10:01 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-09-01 13:55:22 +0200 |
commit | c37adf34a5dc511e017b5a3bab15fe3171269e46 (patch) | |
tree | df559e4a8b685e85b7014a56d48cab9dbe6b0718 /net/unix/af_unix.c | |
parent | 76196742f49ed5e6b12804c8777c4c11a173289e (diff) |
rust: file: use to_result for error handling
Simplifies error handling by replacing the manual check
of the return value with the `to_result` helper.
Signed-off-by: Onur Özkan <work@onurozkan.dev>
Link: https://lore.kernel.org/20250821091001.28563-1-work@onurozkan.dev
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions