Skip to content

Commit ee8f856

Browse files
committed
---
yaml --- r: 37540 b: refs/heads/try c: 38b9740 h: refs/heads/master v: v3
1 parent 60d7797 commit ee8f856

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5-
refs/heads/try: b22f94148720e1ece7e16afe92f91d998ac9af34
5+
refs/heads/try: 38b9740668f596989a2a714e556d59d5b49112dc
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

branches/try/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)