mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Fix formatting and clippy errors
This commit is contained in:
parent
aae173d4ac
commit
ca762127e5
5 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue