core: remove iter_bytes helper functions

This commit is contained in:
Erick Tryzelaar
2013-05-22 17:02:14 -07:00
parent d49d0f82d9
commit 1965d72957
7 changed files with 137 additions and 129 deletions

View File

@@ -197,7 +197,7 @@ pub fn is_call_expr(e: @expr) -> bool {
impl to_bytes::IterBytes for def_id {
#[inline(always)]
fn iter_bytes(&self, lsb0: bool, f: to_bytes::Cb) -> bool {
to_bytes::iter_bytes_2(&self.crate, &self.node, lsb0, f)
self.crate.iter_bytes(lsb0, f) && self.node.iter_bytes(lsb0, f)
}
}