diff options
| author | Kevin Ballard <kevin@sb.org> | 2014-02-07 14:58:37 -0800 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2014-02-07 22:31:51 -0800 |
| commit | 28467f5d197d1455e922711a28ea4a19702dbda9 (patch) | |
| tree | bfcd12c078fb6aa9bbd65053efbbd41d758b7778 /src/libsyntax | |
| parent | dde2e0b3865ba040261d2078db371adbefb32506 (diff) | |
| download | rust-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
