Fix a bunch more Clippy lints, but disable in Circle

The unused error is causing more trouble than it's worth at this
point
This commit is contained in:
Griffin Smith 2019-08-03 13:14:28 -04:00
parent 929dac06d0
commit 82cefedab9
18 changed files with 72 additions and 76 deletions

View file

@ -103,7 +103,7 @@ impl_downcast!(Entity);
impl DrawWithNeighbors for Box<dyn Entity> {
fn do_draw_with_neighbors<'a, 'b>(
&'a self,
out: &'b mut Write,
out: &'b mut dyn Write,
neighbors: &'a Neighbors<Vec<&'a Box<dyn Entity>>>,
) -> io::Result<()> {
(**self).do_draw_with_neighbors(out, neighbors)