Fix formatting and clippy errors

This commit is contained in:
Sam Mohr 2024-10-24 23:11:15 -07:00
parent aae173d4ac
commit ca762127e5
No known key found for this signature in database
GPG key ID: EA41D161A3C1BC99
5 changed files with 5 additions and 5 deletions

View file

@ -471,7 +471,7 @@ impl Scope {
where
F: FnOnce(&mut Scope) -> T,
{
let early_returns_snapshot = std::mem::replace(&mut self.early_returns, Vec::new());
let early_returns_snapshot = std::mem::take(&mut self.early_returns);
let result = self.inner_def_scope(f);