Skip to content

Commit c51798a

Browse files
committed
Fix clippy lints.
1 parent 25c44dd commit c51798a

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/system/schedule/claim/get/registry.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use crate::registry;
2-
31
pub struct Index;
42

53
pub trait Get<T, I> {

src/system/schedule/scheduler.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ where
6262
(T, U): Stager<'a, R, claim::Null, I, P, RI, SFI, SVI, SP, SI, SQ>,
6363
<(T, U) as Stager<'a, R, claim::Null, I, P, RI, SFI, SVI, SP, SI, SQ>>::Remainder:
6464
Scheduler<'a, R, IS, PS, RIS, SFIS, SVIS, SPS, SIS, SQS>,
65-
R: 'a,
65+
R: Registry + 'a,
6666
I: 'a,
6767
P: 'a,
6868
RI: 'a,
@@ -71,7 +71,6 @@ where
7171
SP: 'a,
7272
SI: 'a,
7373
SQ: 'a,
74-
R: Registry,
7574
{
7675
type Stages = (
7776
<(T, U) as Stager<'a, R, claim::Null, I, P, RI, SFI, SVI, SP, SI, SQ>>::Stage,

src/system/schedule/stage.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ impl<R> Stage<'_, R, Null, Null, Null, Null, Null> for Null
2020
where
2121
R: Registry,
2222
{
23-
fn run(&mut self, world: SendableWorld<R>) {}
23+
fn run(&mut self, _world: SendableWorld<R>) {}
2424
}
2525

2626
impl<'a, R, T, U, FI, FIS, VI, VIS, P, PS, I, IS, Q, QS>

0 commit comments

Comments
 (0)