diff options
| author | bors <bors@rust-lang.org> | 2013-05-16 21:19:38 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-05-16 21:19:38 -0700 |
| commit | 918bfa710c2079ed1a690036eb794694b75faa30 (patch) | |
| tree | 506603f5c4114e49d4951869d5423215149e8812 /src/libcore/rt/stack.rs | |
| parent | 77c98f081509733af957af6ed7b0b277e5f57871 (diff) | |
| parent | c2baaa8d8432c8d7320e928e7ad706f225430bb3 (diff) | |
auto merge of #6546 : cmr/rust/warning, r=thestinger
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 } } |
