Merge branch 'common-fixes' into task-queue

This commit is contained in:
Jim Blandy 2019-09-02 20:13:34 -07:00
commit a3a6f3474b
2 changed files with 1 additions and 3 deletions

View File

@ -2,6 +2,7 @@
name = "mandelbrot"
version = "0.2.0"
authors = ["Jim Blandy <jimb@red-bean.com>"]
edition = "2018"
[dependencies]
num = "0.1.34"

View File

@ -1,4 +1,3 @@
extern crate num;
use num::Complex;
/// Try to determine if `c` is in the Mandelbrot set, using at most `limit`
@ -127,8 +126,6 @@ fn render(pixels: &mut [u8],
}
}
extern crate image;
use image::ColorType;
use image::png::PNGEncoder;
use std::fs::File;