diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2013-05-19 20:00:39 -0700 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2013-05-19 20:00:39 -0700 |
| commit | dc57d15b69601e8d88e7ee71b578a1624e28f89e (patch) | |
| tree | 8ef3c8fa8541af02a3788576a35c84e1dafb8b90 /src/libcore/rt/stack.rs | |
| parent | 9f671698e6ac2666293298eb5234237a8033683f (diff) | |
Remove more warnings.
Mostly of the 'unused imports' kind.
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 |
