Skip to content

Commit 8cba337

Browse files
committed
Remove CodeMap.lookup_byte_pos
1 parent d5e35e3 commit 8cba337

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/libsyntax/codemap.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,6 @@ pub impl CodeMap {
259259
return self.lookup_pos(pos, lookup);
260260
}
261261
262-
pub fn lookup_byte_pos(&self, +pos: BytePos) -> Loc<BytePos> {
263-
pure fn lookup(pos: FilePos) -> uint { return pos.byte.to_uint(); }
264-
return self.lookup_pos(pos, lookup);
265-
}
266-
267262
pub fn lookup_char_pos_adj(&self, +pos: CharPos)
268263
-> {filename: ~str, line: uint, col: CharPos, file: Option<@FileMap>}
269264
{

0 commit comments

Comments
 (0)