We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 51a2b6c + 1469808 commit b24c08cCopy full SHA for b24c08c
rust/kernel/error.rs
@@ -62,7 +62,7 @@ impl Error {
62
}
63
64
/// Returns the kernel error code.
65
- pub fn to_kernel_errno(&self) -> c_types::c_int {
+ pub fn to_kernel_errno(self) -> c_types::c_int {
66
self.0
67
68
0 commit comments