Skip to content

Conversation

@pwhMass
Copy link

@pwhMass pwhMass commented May 8, 2025

No description provided.

let vec_len = vec.len();
Ok(vec
.into_iter()
.chain(repeat(0).take(N - vec_len))

Check warning

Code scanning / clippy

this repeat().take() can be written more concisely Warning

this repeat().take() can be written more concisely
let vec_len = vec.len();
Ok(vec
.into_iter()
.chain(repeat(0).take(N - vec_len))

Check warning

Code scanning / clippy

this repeat().take() can be written more concisely Warning

this repeat().take() can be written more concisely
@YdrMaster YdrMaster merged commit 3c7d1da into YdrMaster:dev May 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants