Skip to content

Commit 4d6a763

Browse files
committed
Use an underscore instead of an attribute
1 parent a9265ae commit 4d6a763

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/expr.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2949,8 +2949,7 @@ impl<'a> ToExpr for ast::StructField {
29492949
None
29502950
}
29512951

2952-
#[allow(unused_variables)]
2953-
fn can_be_overflowed(&self, context: &RewriteContext, len: usize) -> bool {
2952+
fn can_be_overflowed(&self, _: &RewriteContext, _: usize) -> bool {
29542953
false
29552954
}
29562955
}

0 commit comments

Comments
 (0)