From c2baaa8d8432c8d7320e928e7ad706f225430bb3 Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Thu, 16 May 2013 21:53:54 -0400 Subject: fix warnings --- src/libcore/rt/stack.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libcore/rt/stack.rs') diff --git a/src/libcore/rt/stack.rs b/src/libcore/rt/stack.rs index 3a4e9307d3b..061d7dab9a1 100644 --- a/src/libcore/rt/stack.rs +++ b/src/libcore/rt/stack.rs @@ -31,9 +31,7 @@ pub impl StackSegment { /// Point one word beyond the high end of the allocated stack fn end(&self) -> *uint { - unsafe { - vec::raw::to_ptr(self.buf).offset(self.buf.len()) as *uint - } + vec::raw::to_ptr(self.buf).offset(self.buf.len()) as *uint } } -- cgit 1.4.1-3-g733a5