diff options
| author | jonastepe <jonasprogrammer@gmail.com> | 2016-01-06 12:13:47 +0100 |
|---|---|---|
| committer | jonastepe <jonasprogrammer@gmail.com> | 2016-01-06 12:13:47 +0100 |
| commit | eb30c661c0f35e44c456e50c2655a4fcdb323f66 (patch) | |
| tree | a47e3bbdb8601a0c15ba331d36e67f3868cf94f8 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | dc1f442634c2e37a8b80d59e27edcc24b5614d4e (diff) | |
| download | rust-eb30c661c0f35e44c456e50c2655a4fcdb323f66.tar.gz rust-eb30c661c0f35e44c456e50c2655a4fcdb323f66.zip | |
heap::deallocate expects a *mut u8 but here a *mut T is given. The final code is correct, the example here would not compile without the cast. I used *mut _ instead of *mut u8 to be consistent with the final code.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
