Skip to content

Commit cf800cf

Browse files
Fix new clippy lint
1 parent db90ff8 commit cf800cf

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

askama_derive/src/input.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -673,20 +673,14 @@ pub(crate) enum Source {
673673
Source(Arc<str>),
674674
}
675675

676-
#[derive(Clone, Copy, Debug, PartialEq, Hash)]
676+
#[derive(Clone, Copy, Debug, PartialEq, Hash, Default)]
677677
pub(crate) enum Print {
678678
All,
679679
Ast,
680680
Code,
681681
None,
682682
}
683683

684-
impl Default for Print {
685-
fn default() -> Self {
686-
Self::None
687-
}
688-
}
689-
690684
impl FromStr for Print {
691685
type Err = String;
692686

0 commit comments

Comments
 (0)