Skip to content

Commit

Permalink
fix: remove unnecessary mut
Browse files Browse the repository at this point in the history
  • Loading branch information
ajewellamz committed Jan 24, 2025
1 parent 867e0e2 commit efa110a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/DafnyRuntime/DafnyRuntimeRust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ where
} => {
#[cfg(feature = "sync")]
{
let mut guard = cache.as_ref().lock().unwrap();
let guard = cache.as_ref().lock().unwrap();
let cache_borrow: Option<&Rc<Vec<T>>> = guard.as_ref();
if let Some(cache) = cache_borrow {
return Rc::clone(cache);
Expand Down

0 comments on commit efa110a

Please sign in to comment.