Skip to content

Commit 436daee

Browse files
authored
Fix a warning on right nightly. (#1015)
In CI we enable `-D warnings`, so this is needed to unbreak the build.
1 parent 4ed2ea2 commit 436daee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/weak.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ macro_rules! syscall {
167167
// (not paths).
168168
use libc::*;
169169

170+
#[allow(dead_code)]
170171
trait AsSyscallArg {
171172
type SyscallArgType;
172173
fn into_syscall_arg(self) -> Self::SyscallArgType;

0 commit comments

Comments
 (0)