diff options
Diffstat (limited to 'src/libcore/rt/stack.rs')
| -rw-r--r-- | src/libcore/rt/stack.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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 } } |
