Use correct type alias in FocusRing::render
Browse files at this commit77b4715e0ba28ab324faa990d6c2b02ade01f2e2Parent: c048abc1 changed file +1 -1
- src/layout/focus_ring.rs +1 -1
src/layout/focus_ring.rsmodified+1 -1
| @@ -77,7 +77,7 @@ impl FocusRing { | |||
| 77 | } | 77 | } |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | - pub fn render(&self, scale: Scale<f64>) -> impl Iterator<Item = SolidColorRenderElement> { | 80 | + pub fn render(&self, scale: Scale<f64>) -> impl Iterator<Item = FocusRingRenderElement> { |
| 81 | let mut rv = ArrayVec::<_, 4>::new(); | 81 | let mut rv = ArrayVec::<_, 4>::new(); |
| 82 | 82 | ||
| 83 | if self.is_off { | 83 | if self.is_off { |