Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some warnings in examples (#663)
Fixs the following warnings. ```rust Compiling scenes v0.0.0 (C:\Users\tannal\tannalwork\projects\vello\examples\scenes) warning: the item `Color` is imported redundantly --> examples\scenes\src\simple_text.rs:163:29 | 8 | use vello::peniko::{Blob, Brush, BrushRef, Color, Font, StyleRef}; | ----- the item `Color` is already imported here ... 163 | use vello::peniko::{Color, Fill}; | ^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: the item `PI` is imported redundantly --> examples\scenes\src\test_scenes.rs:611:13 | 86 | use std::f64::consts::PI; | -------------------- the item `PI` is already imported here ... 611 | use std::f64::consts::PI; | ^^^^^^^^^^^^^^^^^^^^ Compiling vello_tests v0.0.0 (C:\Users\tannal\tannalwork\projects\vello\vello_tests) warning: `scenes` (lib) generated 2 warnings (2 duplicates) Compiling with_winit v0.0.0 (C:\Users\tannal\tannalwork\projects\vello\examples\with_winit) Compiling headless v0.0.0 (C:\Users\tannal\tannalwork\projects\vello\examples\headless) warning: `scenes` (lib test) generated 2 warnings ```
- Loading branch information