Skip to content

Commit 4701242

Browse files
committed
Use an underscore instead of an attribute
1 parent 0344691 commit 4701242

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
@@ -3035,8 +3035,7 @@ impl<'a> ToExpr for ast::StructField {
30353035
None
30363036
}
30373037

3038-
#[allow(unused_variables)]
3039-
fn can_be_overflowed(&self, context: &RewriteContext, len: usize) -> bool {
3038+
fn can_be_overflowed(&self, _: &RewriteContext, _: usize) -> bool {
30403039
false
30413040
}
30423041
}

0 commit comments

Comments
 (0)