Remove unused code in mandelbrot example
This commit is contained in:
parent
1ae03cfb43
commit
ab1c58ad9b
@ -158,14 +158,6 @@ fn write_image(filename: &str, pixels: &[u8], bounds: (usize, usize))
|
||||
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() {
|
||||
let args: Vec<String> = std::env::args().collect();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user