mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
fix clippy lints
This commit is contained in:
parent
002a8b2e5f
commit
a32d8eb52c
@ -54,6 +54,7 @@ impl ProgressOptions {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::literal_string_with_formatting_args)]
|
||||
impl ProgressBars for ProgressOptions {
|
||||
type P = RusticProgress;
|
||||
|
||||
@ -116,6 +117,7 @@ enum ProgressType {
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct RusticProgress(ProgressBar, ProgressType);
|
||||
|
||||
#[allow(clippy::literal_string_with_formatting_args)]
|
||||
impl Progress for RusticProgress {
|
||||
fn is_hidden(&self) -> bool {
|
||||
self.0.is_hidden()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user