Skip to content

Commit

Permalink
Fix lint issue brought up by CI
Browse files Browse the repository at this point in the history
- Fixed `clippy::needless_doctest_main` issue in README
  • Loading branch information
smu160 committed Apr 14, 2024
1 parent ad6fed5 commit efc7107
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,10 @@ use phastft::{
fft_64
};

fn main() {
let big_n = 1 << 10;
let mut reals: Vec<f64> = (1..=big_n).map(|i| i as f64).collect();
let mut imags: Vec<f64> = (1..=big_n).map(|i| i as f64).collect();
fft_64(&mut reals, &mut imags, Direction::Forward);
}
let big_n = 1 << 10;
let mut reals: Vec<f64> = (1..=big_n).map(|i| i as f64).collect();
let mut imags: Vec<f64> = (1..=big_n).map(|i| i as f64).collect();
fft_64(&mut reals, &mut imags, Direction::Forward);
```

### Python
Expand Down

0 comments on commit efc7107

Please sign in to comment.