diff options
| author | 2024-12-02 19:53:16 +0100 | |
|---|---|---|
| committer | 2024-12-02 19:56:27 +0100 | |
| commit | 602661372c921ef5079283ccd5f477c63977239f (patch) | |
| tree | 1dfc3dc27986a2f0e8700b887a6dab8a1b3b77bc /graphics | |
| parent | e8f8216ea1f9deef7f2d02fa2600a0b4e247f8fa (diff) | |
| download | iced-602661372c921ef5079283ccd5f477c63977239f.tar.gz iced-602661372c921ef5079283ccd5f477c63977239f.tar.bz2 iced-602661372c921ef5079283ccd5f477c63977239f.zip | |
Fix new `clippy` lints
Diffstat (limited to 'graphics')
| -rw-r--r-- | graphics/src/geometry/stroke.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/graphics/src/geometry/stroke.rs b/graphics/src/geometry/stroke.rs index b8f4515e..88a5fd7b 100644 --- a/graphics/src/geometry/stroke.rs +++ b/graphics/src/geometry/stroke.rs @@ -23,7 +23,7 @@ pub struct Stroke<'a> {      pub line_dash: LineDash<'a>,  } -impl<'a> Stroke<'a> { +impl Stroke<'_> {      /// Sets the color of the [`Stroke`].      pub fn with_color(self, color: Color) -> Self {          Stroke { @@ -48,7 +48,7 @@ impl<'a> Stroke<'a> {      }  } -impl<'a> Default for Stroke<'a> { +impl Default for Stroke<'_> {      fn default() -> Self {          Stroke {              style: Style::Solid(Color::BLACK), | 
