We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b42028 commit a7cb1cfCopy full SHA for a7cb1cf
1 file changed
rules/dirent/tgt_unsafe.rs
@@ -1,9 +1,8 @@
1
// Copyright (c) 2022-present INESC-ID.
2
// Distributed under the MIT license that can be found in the LICENSE file.
3
4
-fn types() -> Result<(), Box<dyn std::error::Error>> {
5
- let t1: *mut ::libc::DIR = std::ptr::null_mut();
6
- Ok(())
+fn t1() -> *mut ::libc::DIR {
+ std::ptr::null_mut()
7
}
8
9
unsafe fn f1(a0: *const u8) -> *mut ::libc::DIR {
0 commit comments