manual clippy fixes

This commit is contained in:
Folkert 2023-06-26 20:45:39 +02:00
parent ef39bad7c6
commit 2d616d1fe9
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
6 changed files with 9 additions and 9 deletions

View file

@ -1832,7 +1832,7 @@ fn throw_on_overflow<'ctx>(
.unwrap()
}
fn throw_because_overflow<'ctx>(env: &Env<'_, 'ctx, '_>, message: &str) {
fn throw_because_overflow(env: &Env<'_, '_, '_>, message: &str) {
let block = env.builder.get_insert_block().expect("to be in a function");
let di_location = env.builder.get_current_debug_location().unwrap();