Unverified Commit c37adf34 authored by Onur Özkan's avatar Onur Özkan Committed by Christian Brauner
Browse files

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: default avatarOnur Özkan <work@onurozkan.dev>
Link: https://lore.kernel.org/20250821091001.28563-1-work@onurozkan.dev


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 76196742
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment