Skip to content

Commit a2290cc

Browse files
committed
middle: trans: cabi: remove dead code
1 parent 5e2b522 commit a2290cc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc/middle/trans/cabi.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ impl ArgType {
7979
}
8080
}
8181

82-
pub fn is_direct(&self) -> bool {
83-
return self.kind == Direct;
84-
}
85-
8682
pub fn is_indirect(&self) -> bool {
8783
return self.kind == Indirect;
8884
}

0 commit comments

Comments
 (0)