diff options
| author | Mike Hommey <mh@glandium.org> | 2018-04-02 10:44:38 +0900 |
|---|---|---|
| committer | Mike Hommey <mh@glandium.org> | 2018-04-02 10:44:38 +0900 |
| commit | 0df837f79289819f9b671b67d4e63dfe5c80d419 (patch) | |
| tree | b536348fec29fdb82d87081ec6f006609af76ecf /src/liballoc_system | |
| parent | cc939ac345091327b23f807b7d1f6a7c75c03f36 (diff) | |
| download | rust-0df837f79289819f9b671b67d4e63dfe5c80d419.tar.gz rust-0df837f79289819f9b671b67d4e63dfe5c80d419.zip | |
Add vec!['\0'; n] optimization, like vec![0; n]
Similarly to vec![ptr::null{,_mut}(); n] in previous change, this adds
the optimization for vec!['\0'; n].
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions
