8000 Clippy: Lints · rtic-rs/rtic-syntax@7525412 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7525412

Browse files
committed
Clippy: Lints
1 parent df5c6e6 commit 7525412

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/analyze.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ pub struct Channel {
350350
}
351351

352352
/// Resource ownership
353-
#[derive(Clone, Copy, Debug, PartialEq)]
353+
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
354354
pub enum Ownership {
355355
/// Owned by a single task
356356
Owned {

src/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ pub enum TaskLocal {
345345
}
346346

347347
/// Resource access
348-
#[derive(Clone, Copy, Debug, PartialEq)]
348+
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
349349
pub enum Access {
350350
/// `[x]`, a mutable resource
351351
Exclusive,

src/parse/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ impl App {
468468
));
469469
}
470470

471-
check_monotonic(&*type_item.ty)?;
471+
check_monotonic(&type_item.ty)?;
472472

473473
let m = type_item.attrs.remove(pos);
474474
let args = MonotonicArgs::parse(m)?;

0 commit comments

Comments
 (0)
0