Skip to content

Commit 9383dc8

Browse files
committed
Fix lint error
1 parent 3f0e8af commit 9383dc8

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/check/parse/Parser.zig

+1-9
Original file line numberDiff line numberDiff line change
@@ -344,15 +344,7 @@ pub fn parseAppHeader(self: *Parser) IR.NodeStore.HeaderIdx {
344344
return self.pushMalformed(IR.NodeStore.HeaderIdx, .no_platform);
345345
}
346346

347-
pub fn parseIdent(self: *Parser) ?tokenize.Token.Idx {
348-
if (self.peek() == .LowerIdent or self.peek() == .UpperIdent) {
349-
const pos = self.pos;
350-
self.advance();
351-
return pos;
352-
}
353-
return null;
354-
}
355-
347+
/// Parses an ExposedItem, adding it to the NodeStore and returning the Idx
356348
pub fn parseExposedItem(self: *Parser) IR.NodeStore.ExposedItemIdx {
357349
const start = self.pos;
358350
var end = start;

0 commit comments

Comments
 (0)