Fixed autoscroll timing

This commit is contained in:
Mikayla Maki
2023-02-28 16:34:28 -08:00
parent da78abd99f
commit cb3e873a67
4 changed files with 201 additions and 160 deletions
+2 -2
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,