Skip to content

Commit e335454

Browse files
committed
build.rs: silence needless borrows clippy warning
Clippy shouldn't probably even look at this file, since it is meant for older compilers. Clippy "fixes" could lead to failure to work on older toolchains.
1 parent ead7c7e commit e335454

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ mod autocfg {
119119
#![allow(unknown_lints)]
120120
#![allow(bare_trait_objects)]
121121
#![allow(ellipsis_inclusive_range_patterns)]
122+
#![allow(clippy::needless_borrows_for_generic_args)]
122123

123124
use std::collections::HashSet;
124125
use std::env;

0 commit comments

Comments
 (0)