chore: fix clippy lints

This commit is contained in:
ThetaDev 2024-05-02 19:39:48 +02:00
parent 5dbb288a49
commit 45b9f2a627
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
10 changed files with 21 additions and 18 deletions

View file

@ -284,6 +284,7 @@ pub fn div_ceil(a: u32, b: u32) -> u32 {
}
}
#[allow(dead_code)]
pub trait TryRemove<T> {
/// Removes and returns the element at position `index` within the vector,
/// shifting all elements after it to the left.