Skip to content

Commit 14389b9

Browse files
authored
Merge pull request #366 from gmorenz/patch-1
Fix LensWrap and Lens links in WidgetExt docs
2 parents 7b5b704 + 6509147 commit 14389b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

druid/src/widget/widget_ext.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ pub trait WidgetExt<T: Data>: Widget<T> + Sized + 'static {
111111

112112
/// Wrap this widget in a [`LensWrap`] widget for the provided [`Lens`].
113113
///
114-
/// [`LensWrap`]: struct.LensWrap.html
115-
/// [`Lens`]: trait.Lens.html
114+
/// [`LensWrap`]: ../struct.LensWrap.html
115+
/// [`Lens`]: ../trait.Lens.html
116116
fn lens<U: Data, L: Lens<T, U>>(self, lens: L) -> LensWrap<U, L, Self> {
117117
LensWrap::new(self, lens)
118118
}

0 commit comments

Comments
 (0)