Skip to content

Commit b69ac1d

Browse files
committed
rust: fix clippy warnings
1 parent 61352b6 commit b69ac1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust/bear/src/output/clang/type_de.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl<'de> Deserialize<'de> for Entry {
3030
{
3131
struct FieldVisitor;
3232

33-
impl<'de> Visitor<'de> for FieldVisitor {
33+
impl Visitor<'_> for FieldVisitor {
3434
type Value = Field;
3535

3636
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {

rust/bear/src/semantic/interpreters/gcc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ mod internal {
9393
meaning: Meaning,
9494
}
9595

96-
impl<'a> Argument<'a> {
96+
impl Argument<'_> {
9797
pub(super) fn passes(flags: &[Argument]) -> Vec<CompilerPass> {
9898
let mut pass: Pass = Pass::Linker;
9999
let mut inputs: Vec<String> = vec![];

0 commit comments

Comments
 (0)