Skip to content

Commit

Permalink
[F] Port fix #383 to rust
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna committed Jan 18, 2025
1 parent 211beb7 commit f38b754
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/hyfetch/src/bin/hyfetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,7 @@ fn create_config(
let preset_index_permutations: IndexSet<Vec<PresetIndexedColor>> = preset_indices
.into_iter()
.permutations(slots.len())
.take(1000)
.collect();
let random_count = u16::from(ascii_per_row)
.checked_mul(u16::from(ascii_rows))
Expand Down

0 comments on commit f38b754

Please sign in to comment.