Skip to content

Commit 7de5265

Browse files
author
Stephan Dilly
committed
clippy fixes
1 parent 914cc86 commit 7de5265

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/pull.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl PullComponent {
104104
}
105105

106106
///
107-
pub fn any_work_pending(&self) -> bool {
107+
pub const fn any_work_pending(&self) -> bool {
108108
self.pending
109109
}
110110

src/components/push.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl PushComponent {
145145
}
146146

147147
///
148-
pub fn any_work_pending(&self) -> bool {
148+
pub const fn any_work_pending(&self) -> bool {
149149
self.pending
150150
}
151151

0 commit comments

Comments
 (0)