summary refs log tree commit diff
path: root/src/test/rustdoc-js
diff options
context:
space:
mode:
authorNiv Kaminer <nivkner@zoho.com>2018-08-09 19:33:57 +0300
committerNiv Kaminer <nivkner@zoho.com>2018-08-23 01:37:03 +0300
commit971d7ed24966e64c8ec8352ada433b672c25012f (patch)
treede9aef96a16f24ea3f6461fcd52cb8a5998aa5e9 /src/test/rustdoc-js
parent13da951868a1b48108592cadbf7627d48322c859 (diff)
downloadrust-971d7ed24966e64c8ec8352ada433b672c25012f.tar.gz
rust-971d7ed24966e64c8ec8352ada433b672c25012f.zip
move PinBox into pin module and export through std
Diffstat (limited to 'src/test/rustdoc-js')
-rw-r--r--src/test/rustdoc-js/pinbox-new.js4
-rw-r--r--src/test/rustdoc-js/vec-new.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/rustdoc-js/pinbox-new.js b/src/test/rustdoc-js/pinbox-new.js
index 061c7b30741..55842dc8e45 100644
--- a/src/test/rustdoc-js/pinbox-new.js
+++ b/src/test/rustdoc-js/pinbox-new.js
@@ -14,7 +14,7 @@ const QUERY = 'pinbox::new';
 
 const EXPECTED = {
     'others': [
-        { 'path': 'std::boxed::PinBox', 'name': 'new' },
-        { 'path': 'alloc::boxed::PinBox', 'name': 'new' },
+        { 'path': 'std::pin::PinBox', 'name': 'new' },
+        { 'path': 'alloc::pin::PinBox', 'name': 'new' },
     ],
 };
diff --git a/src/test/rustdoc-js/vec-new.js b/src/test/rustdoc-js/vec-new.js
index 702953e2e9d..4a654ccb135 100644
--- a/src/test/rustdoc-js/vec-new.js
+++ b/src/test/rustdoc-js/vec-new.js
@@ -14,6 +14,6 @@ const EXPECTED = {
     'others': [
         { 'path': 'std::vec::Vec', 'name': 'new' },
         { 'path': 'std::vec::Vec', 'name': 'ne' },
-        { 'path': 'std::boxed::PinBox', 'name': 'new' },
+        { 'path': 'std::pin::PinBox', 'name': 'new' },
     ],
 };