chore: clean up some more of the scopes file

This commit is contained in:
Jonathan Kelley committed 2022-01-31 03:27:43 -05:00
1 parent 268b1b0c66
commit b4697fc9f9
3 files changed
+12 -32

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@ use crate::innerlude::*;
use fxhash::{FxHashMap, FxHashSet};
use smallvec::{smallvec, SmallVec};
pub(crate) struct AsyncDiffState<'bump> {
pub(crate) struct DiffState<'bump> {
pub(crate) scopes: &'bump ScopeArena,
pub(crate) mutations: Mutations<'bump>,
pub(crate) force_diff: bool,
@@ -10,7 +10,7 @@ pub(crate) struct AsyncDiffState<'bump> {
pub(crate) scope_stack: SmallVec<[ScopeId; 5]>,
}
impl<'b> AsyncDiffState<'b> {
impl<'b> DiffState<'b> {
pub fn new(scopes: &'b ScopeArena) -> Self {
Self {
scopes,