fix lints on rust 1.89 (#4587)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-08-19 19:34:13 -07:00
1 parent 27bae6fbb7
commit 9ec474962b
16 files changed
+48 -37

No files matched your search

+1 -1
View File
@@ -294,7 +294,7 @@ impl Scope {
for ctx in contexts.iter_mut() {
// Swap the ptr directly
if let Some(ctx) = ctx.downcast_mut::<T>() {
std::mem::swap(ctx, &mut value.clone());
*ctx = value.clone();
return value;
}
}