back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> slice_unique

This commit is contained in:
Marvin Löbel 2013-03-21 12:36:21 +01:00
parent 8f4448837b
commit 9d9a209e9a
32 changed files with 124 additions and 124 deletions

View file

@ -266,7 +266,7 @@ pub impl FileMap {
Some(e) => e,
None => str::len(*self.src)
};
str::slice_DBG_BRWD(*self.src, begin, end).to_owned()
str::slice(*self.src, begin, end).to_owned()
}
}
@ -395,7 +395,7 @@ pub impl CodeMap {
let begin = self.lookup_byte_offset(sp.lo);
let end = self.lookup_byte_offset(sp.hi);
fail_unless!(begin.fm.start_pos == end.fm.start_pos);
return str::slice_DBG_BRWD(*begin.fm.src,
return str::slice(*begin.fm.src,
begin.pos.to_uint(), end.pos.to_uint()).to_owned();
}