One more doc

This commit is contained in:
Nathan Sobo 2023-11-22 13:32:08 -07:00
parent ed92f7a037
commit 4013cf9229

View file

@ -107,6 +107,7 @@ pub trait IntoElement: Sized {
} }
} }
/// Map this type to a different type with the given function. Useful when method chaining.
fn map<U>(self, f: impl FnOnce(Self) -> U) -> U fn map<U>(self, f: impl FnOnce(Self) -> U) -> U
where where
Self: Sized, Self: Sized,