Remove unused code in mandelbrot example

This commit is contained in:
Timothy Warren 2019-03-01 13:32:59 -05:00
parent 1ae03cfb43
commit ab1c58ad9b

View File

@ -158,14 +158,6 @@ fn write_image(filename: &str, pixels: &[u8], bounds: (usize, usize))
Ok(()) Ok(())
} }
#[allow(dead_code)]
fn complex_square_add_loop(c: Complex<f64>) {
let mut z = Complex { re: 0.0, im: 0.0 };
loop {
z = z * z + c;
}
}
fn main() { fn main() {
let args: Vec<String> = std::env::args().collect(); let args: Vec<String> = std::env::args().collect();