Skip to content

Commit 6ba302d

Browse files
committed
fix clippy
1 parent df67223 commit 6ba302d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

code/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/target/
1+
/target
22
/Cargo.lock

code/managing-colors/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl MyValue {
3535
pub fn display(&self) -> MyValueDisplay<'_> {
3636
MyValueDisplay {
3737
value: self,
38-
styles: Box::new(Styles::default()),
38+
styles: Box::default(),
3939
}
4040
}
4141
}

0 commit comments

Comments
 (0)