about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-09-03 10:36:34 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-09-03 10:36:34 -0700
commit6bb2c5d32299b4664c3876793b4e759d8fbc0008 (patch)
tree25d8e0ed88b5937c60415511512768313968fc8c /src/libsyntax
parent9e9c83b8994fab4f69fc75838c8c856b57caa5d1 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions