Make UntrustedNodeAddress a newtype.

This will allow us to make it Send after the Rust upgrade.
This commit is contained in:
Josh Matthews 2015-01-22 15:26:56 -05:00 committed by Ms2ger
parent 1b496d80de
commit d2f0aac5ce
5 changed files with 7 additions and 5 deletions

View file

@ -325,7 +325,7 @@ impl<'ln> LayoutNode<'ln> {
pub fn debug_id(self) -> uint {
let opaque: OpaqueNode = OpaqueNodeMethods::from_layout_node(&self);
opaque.to_untrusted_node_address() as uint
opaque.to_untrusted_node_address().0 as uint
}
}