diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2020-07-21 23:06:23 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2020-07-29 10:53:55 +0200 |
| commit | d8bcf75206e88e07cabd95b87418fe98c5fa2b95 (patch) | |
| tree | 33b8ab569d37c7faf64843d7bbc0069d43a24712 /src/test/rustdoc-ui/coverage/doc-examples.rs | |
| parent | 10c375700ce170fc57cb617754dc6d0631d3d573 (diff) | |
| download | rust-d8bcf75206e88e07cabd95b87418fe98c5fa2b95.tar.gz rust-d8bcf75206e88e07cabd95b87418fe98c5fa2b95.zip | |
Make `Vec::leak` a method instead of an associated function.
The reason for `Box::leak` not to be a method (`Deref` to an arbitrary `T` which might have its own, different `leak` method) does not apply.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/doc-examples.rs')
0 files changed, 0 insertions, 0 deletions
