mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Replace Mark:: functions with consts
This commit is contained in:
parent
f04d8f5b03
commit
b715d3e2f8
3 changed files with 16 additions and 27 deletions
|
@ -73,7 +73,7 @@ pub fn run(
|
|||
let mut pools = Pools::default();
|
||||
let state = State {
|
||||
vars_by_symbol: vars_by_symbol.clone(),
|
||||
mark: Mark::none().next(),
|
||||
mark: Mark::NONE.next(),
|
||||
};
|
||||
let rank = Rank::toplevel();
|
||||
|
||||
|
@ -661,7 +661,7 @@ fn register(subs: &mut Subs, rank: Rank, pools: &mut Pools, content: Content) ->
|
|||
let var = subs.fresh(Descriptor {
|
||||
content,
|
||||
rank,
|
||||
mark: Mark::none(),
|
||||
mark: Mark::NONE,
|
||||
copy: None,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue