pass the information on previous caller on clone
This commit is contained in:
1 parent
af091c5bf8
commit
9154b0f8ea
1 file changed
+1
-1
@@ -365,7 +365,7 @@ impl<T> Clone for UseSharedState<T> {
|
||||
Self {
|
||||
inner: self.inner.clone(),
|
||||
#[cfg(debug_assertions)]
|
||||
previous_borrow: Default::default(),
|
||||
previous_borrow: self.previous_borrow.clone(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user