summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/src/geometry/stroke.rs4
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),