diff options
Diffstat (limited to 'src/geom/rounded.rs')
| -rw-r--r-- | src/geom/rounded.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/geom/rounded.rs b/src/geom/rounded.rs index 24b52448..f1a7ea08 100644 --- a/src/geom/rounded.rs +++ b/src/geom/rounded.rs @@ -1,7 +1,5 @@ use super::*; -use std::mem; - /// Produce shapes that together make up a rounded rectangle. pub fn rounded_rect( size: Size, @@ -69,7 +67,7 @@ fn stroke_segments( ); if !continuous { - res.push((mem::take(&mut path), stroke.get_ref(side).clone())); + res.push((std::mem::take(&mut path), stroke.get_ref(side).clone())); } } |
