Skip to content

Commit 712bee6

Browse files
committed
appease clippy
1 parent 6bb1a99 commit 712bee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/src/traces/sankey.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ where
351351
{
352352
/// Creates a new empty Sankey diagram.
353353
pub fn new() -> Box<Self> {
354-
Box::new(Default::default())
354+
Box::default()
355355
}
356356
}
357357

0 commit comments

Comments
 (0)