Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Khashayar Barooti committed Nov 25, 2024
1 parent 5c39fe1 commit 5f56787
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/enums.nr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod ScanMode {
global GRAMMAR_SCAN: Field = 0;
global STRING_SCAN: Field = 1;
global GRAMMAR_SCAN: Field = 0;
global STRING_SCAN: Field = 1;
global NUMERIC_SCAN: Field = 2;
global LITERAL_SCAN: Field = 3;
}
Expand All @@ -22,7 +22,7 @@ mod Token {
}

mod Layer {
global OBJECT_LAYER: Field = 0;
global OBJECT_LAYER: Field = 0;
global ARRAY_LAYER: Field = 1;
global SINGLE_VALUE_LAYER: Field = 2;
}
Expand Down
2 changes: 1 addition & 1 deletion src/get_literal.nr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::getters::JSONValue;
use crate::json::JSON;
use crate::json_entry::JSONEntry;

global MAX_LITERAL_LENGTH_AS_STRING : u32= 5;
global MAX_LITERAL_LENGTH_AS_STRING: u32 = 5;
global LITERAL_OFFSET_SHIFT: [Field; 6] =
[0x10000000000, 0x100000000, 0x1000000, 0x10000, 0x100, 1];

Expand Down

0 comments on commit 5f56787

Please sign in to comment.