Skip to content

Commit 68c0945

Browse files
committed
Replace old implementations with new ones
1 parent c542779 commit 68c0945

File tree

105 files changed

+17143
-51619
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+17143
-51619
lines changed

src/base/Region.zig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ pub fn zero() Self {
2626
};
2727
}
2828

29+
pub fn empty() Self {
30+
return zero();
31+
}
32+
2933
/// Create a `Region` from raw offsets.
3034
pub fn from_raw_offsets(start: u32, end: u32) Self {
3135
std.debug.assert(start <= end);

0 commit comments

Comments
 (0)