Change summary
crates/gpui/src/elements/img.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Detailed changes
@@ -114,9 +114,9 @@ impl From<Arc<Image>> for ImageSource {
}
}
-impl<
- F: Fn(&mut Window, &mut App) -> Option<Result<Arc<RenderImage>, ImageCacheError>> + 'static,
- > From<F> for ImageSource
+impl<F> From<F> for ImageSource
+where
+ F: Fn(&mut Window, &mut App) -> Option<Result<Arc<RenderImage>, ImageCacheError>> + 'static,
{
fn from(value: F) -> Self {
Self::Custom(Arc::new(value))