From dc57d15b69601e8d88e7ee71b578a1624e28f89e Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sun, 19 May 2013 20:00:39 -0700 Subject: Remove more warnings. Mostly of the 'unused imports' kind. --- 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 cab9c3390b2..ec56e65931c 100644 --- a/src/libcore/rt/stack.rs +++ b/src/libcore/rt/stack.rs @@ -39,9 +39,7 @@ pub impl StackSegment { /// Point to the low end of the allocated stack fn start(&self) -> *uint { - unsafe { - vec::raw::to_ptr(self.buf) as *uint - } + vec::raw::to_ptr(self.buf) as *uint } /// Point one word beyond the high end of the allocated stack -- cgit 1.4.1-3-g733a5