diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2017-12-22 19:24:07 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-01-20 11:09:22 +0100 |
| commit | a2f878a084c8000dd1dcacc02cae5ebc5603fe72 (patch) | |
| tree | 1a22eca86173c7e603fe758e41ea7dd8b8bdeecc /src/test/rustdoc-js | |
| parent | fb03a49c2501c52401b3c987fd455818de1736f2 (diff) | |
Replace Box::{from,into}_unique with {from,into}_nonnull_raw
Thew `_raw` prefix is included because the fact that `Box`’s ownership semantics are "dissolved" or recreated seem more important than the exact parameter type or return type.
Diffstat (limited to 'src/test/rustdoc-js')
| -rw-r--r-- | src/test/rustdoc-js/from_u.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/rustdoc-js/from_u.js b/src/test/rustdoc-js/from_u.js index 920620a9aee..0296788f7a0 100644 --- a/src/test/rustdoc-js/from_u.js +++ b/src/test/rustdoc-js/from_u.js @@ -15,7 +15,6 @@ const EXPECTED = { { 'path': 'std::char', 'name': 'from_u32' }, { 'path': 'std::str', 'name': 'from_utf8' }, { 'path': 'std::string::String', 'name': 'from_utf8' }, - { 'path': 'std::boxed::Box', 'name': 'from_unique' }, { 'path': 'std::i32', 'name': 'from_unsigned' }, { 'path': 'std::i128', 'name': 'from_unsigned' }, ], |
