about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-02-07 14:58:37 -0800
committerKevin Ballard <kevin@sb.org>2014-02-07 22:31:51 -0800
commit28467f5d197d1455e922711a28ea4a19702dbda9 (patch)
treebfcd12c078fb6aa9bbd65053efbbd41d758b7778 /src/libsyntax
parentdde2e0b3865ba040261d2078db371adbefb32506 (diff)
downloadrust-28467f5d197d1455e922711a28ea4a19702dbda9.tar.gz
rust-28467f5d197d1455e922711a28ea4a19702dbda9.zip
Tweak from_utf8_lossy to return a new MaybeOwned enum
MaybeOwned allows from_utf8_lossy to avoid allocation if there are no
invalid bytes in the input.
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions