Fixed autoscroll timing

This commit is contained in:
Mikayla Maki 2023-02-26 17:02:05 -08:00
parent da78abd99f
commit cb3e873a67
4 changed files with 201 additions and 160 deletions

View file

@ -146,14 +146,14 @@ where
}
pub trait MapRangeEndsExt<R> {
fn map_endpoints<T, F>(self, f: F) -> Range<T>
fn map_range<T, F>(self, f: F) -> Range<T>
where
Self: Sized,
F: Fn(R) -> T;
}
impl<R> MapRangeEndsExt<R> for Range<R> {
fn map_endpoints<T, F>(self, f: F) -> Range<T>
fn map_range<T, F>(self, f: F) -> Range<T>
where
Self: Sized,
F: Fn(R) -> T,