clippy fixes

This commit is contained in:
Stephan Dilly 2021-03-02 00:21:16 +01:00
parent 914cc86453
commit 7de5265d5d
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ impl PullComponent {
}
///
pub fn any_work_pending(&self) -> bool {
pub const fn any_work_pending(&self) -> bool {
self.pending
}

View file

@ -145,7 +145,7 @@ impl PushComponent {
}
///
pub fn any_work_pending(&self) -> bool {
pub const fn any_work_pending(&self) -> bool {
self.pending
}