about summary refs log tree commit diff
path: root/src/test/rustdoc-js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-27 22:56:15 +0000
committerbors <bors@rust-lang.org>2018-08-27 22:56:15 +0000
commit8c2b371ebc5b538a24e6589245ce524ba3e4ce18 (patch)
treee9c467bbb78a1a28afed4a33c395a2dd2a613aff /src/test/rustdoc-js
parentf7202e40f49d2b29635f095a3270a7214e25ce8b (diff)
parent83ca347343f5783779b908c264c9470634d3758c (diff)
downloadrust-8c2b371ebc5b538a24e6589245ce524ba3e4ce18.tar.gz
rust-8c2b371ebc5b538a24e6589245ce524ba3e4ce18.zip
Auto merge of #53227 - nivkner:pin_move, r=RalfJung
move the Pin API into its own module for centralized documentation

This implements the change proposed by @withoutboats in #49150, as suggested by @RalfJung in the review of #53104,
along with the documentation that was originally in it, that was deemed more appropriate in module-level documentation.

r? @RalfJung
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' },
     ],
 };