forge
Explore
Log in

Don't you dare go Hollow

Use correct type alias in FocusRing::render

Browse files at this commit

77b4715e0ba28ab324faa990d6c2b02ade01f2e2Ivan MolodetskikhParent: c048abc
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 {