diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-09-03 10:36:34 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-09-03 10:36:34 -0700 |
| commit | 6bb2c5d32299b4664c3876793b4e759d8fbc0008 (patch) | |
| tree | 25d8e0ed88b5937c60415511512768313968fc8c /src/libsyntax/errors | |
| parent | 9e9c83b8994fab4f69fc75838c8c856b57caa5d1 (diff) | |
| download | rust-6bb2c5d32299b4664c3876793b4e759d8fbc0008.tar.gz rust-6bb2c5d32299b4664c3876793b4e759d8fbc0008.zip | |
std: Update CString::{into,from}_raw with `*mut T`
Conventionally in C `*mut T` is a transfer of ownership where `*const T` is a loan, so `*mut T` is likely the more appropriate return type for these functions. Additionally, this more closely mirrors the APIs on `Box` for this sort of functionality. cc #27769
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
