Ran cargo_fmt over changed files.

This commit is contained in:
Malte Veerman 2019-12-11 22:13:29 +01:00
parent a88aae5e04
commit 5696afcadd
6 changed files with 53 additions and 55 deletions

View file

@ -1,15 +1,9 @@
use crate::{svg::Handle, Primitive, Renderer};
use iced_native::{
icon, MouseCursor, Rectangle,
};
use iced_native::{icon, MouseCursor, Rectangle};
use std::path::Path;
impl icon::Renderer for Renderer {
fn draw(
&mut self,
bounds: Rectangle,
path: &Path,
) -> Self::Output {
fn draw(&mut self, bounds: Rectangle, path: &Path) -> Self::Output {
(
Primitive::Svg {
handle: Handle::from_path(path),
@ -18,4 +12,4 @@ impl icon::Renderer for Renderer {
MouseCursor::OutOfBounds,
)
}
}
}