diff options
| author | bors <bors@rust-lang.org> | 2013-05-20 00:25:40 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-05-20 00:25:40 -0700 |
| commit | ea0640764a5d9bc01d821c74bef039b6051d5169 (patch) | |
| tree | c2c55b05bc88a2c4bd6c80f13f02b35750b6d2d5 /src/libcore/rt/stack.rs | |
| parent | d019e145c033ac60d4413321da21d3e877b4b786 (diff) | |
| parent | dc57d15b69601e8d88e7ee71b578a1624e28f89e (diff) | |
auto merge of #6629 : steveklabnik/rust/remove_uvio_warnings, r=catamorphism
Mostly of the 'unused imports' kind. I'm unsure about the 'no unsafe' bit, but that's what it says...
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 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 |
