Skip to content

Commit adc357a

Browse files
committed
std: render the vec_ng docs.
These are wildly incomplete, but having something there is better than nothing, e.g. so that people know it exists, and many of the functions behaviour can be guessed from the name or by checking the source: it's knowing they exist at all that's the hard part.
1 parent 62792f0 commit adc357a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libstd/vec_ng.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// Migrate documentation over from `std::vec` when it is removed.
12-
#[doc(hidden)];
11+
// Migrate documentation over from `std::vec` progressively. (This is
12+
// shown in docs so that people have something to refer too, even if
13+
// the page is rather empty.)
14+
#[allow(missing_doc)];
1315

1416
use cast::{forget, transmute};
1517
use clone::Clone;

0 commit comments

Comments
 (0)