Skip to content

Commit 10985b9

Browse files
committed
---
yaml --- r: 35066 b: refs/heads/master c: 38b9740 h: refs/heads/master v: v3
1 parent cc599d1 commit 10985b9

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b22f94148720e1ece7e16afe92f91d998ac9af34
2+
refs/heads/master: 38b9740668f596989a2a714e556d59d5b49112dc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/src/libsyntax/codemap.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,6 @@ pub impl CodeMap {
215215
return str::slice(*begin.fm.src, begin.pos, end.pos);
216216
}
217217

218-
pub fn get_snippet(@self, fidx: uint, lo: uint, hi: uint) -> ~str
219-
{
220-
let fm = self.files[fidx];
221-
return str::slice(*fm.src, lo, hi)
222-
}
223-
224218
pub fn get_filemap(@self, filename: ~str) -> @filemap {
225219
for self.files.each |fm| { if fm.name == filename { return *fm; } }
226220
//XXjdm the following triggers a mismatched type bug

0 commit comments

Comments
 (0)