back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> slice_unique
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user