diff options
| author | 2022-02-03 17:18:05 +0700 | |
|---|---|---|
| committer | 2022-02-03 17:18:05 +0700 | |
| commit | f56c8a7361ceb215bce68e88bd6ce402e2694693 (patch) | |
| tree | ec4d7ef8a63cf9ce0a77c28c9beeeaa7f3d64efc /graphics/src/widget/canvas/frame.rs | |
| parent | 76c03de58729783513504f8115d7381f9a52fd23 (diff) | |
| download | iced-f56c8a7361ceb215bce68e88bd6ce402e2694693.tar.gz iced-f56c8a7361ceb215bce68e88bd6ce402e2694693.tar.bz2 iced-f56c8a7361ceb215bce68e88bd6ce402e2694693.zip | |
Ask for a slice of segments instead of ownership in `LineDash`
Diffstat (limited to 'graphics/src/widget/canvas/frame.rs')
| -rw-r--r-- | graphics/src/widget/canvas/frame.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/graphics/src/widget/canvas/frame.rs b/graphics/src/widget/canvas/frame.rs index b98c3002..357dfa62 100644 --- a/graphics/src/widget/canvas/frame.rs +++ b/graphics/src/widget/canvas/frame.rs @@ -153,7 +153,7 @@ impl Frame {      /// Draws the stroke of the given [`Path`] on the [`Frame`] with the      /// provided style. -    pub fn stroke(&mut self, path: &Path, stroke: impl Into<Stroke>) { +    pub fn stroke<'a>(&mut self, path: &Path, stroke: impl Into<Stroke<'a>>) {          let stroke = stroke.into();          let mut buffers = tessellation::BuffersBuilder::new( | 
