Browse Source

chore: formatting

Dan Everton 3 năm trước cách đây
mục cha
commit
07e3824
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      aya/src/sys/mod.rs

+ 1 - 1
aya/src/sys/mod.rs

@@ -77,7 +77,7 @@ unsafe fn syscall_impl(call: Syscall) -> SysResult {
 
 #[cfg(test)]
 pub(crate) fn kernel_version() -> Result<(u32, u32, u32), ()> {
-    return Ok((0xff, 0xff, 0xff))
+    Ok((0xff, 0xff, 0xff))
 }
 
 #[cfg(not(test))]