Skip to content

Commit 1ccc51c

Browse files
committed
doc: Fix some broken links
1 parent 799ddba commit 1ccc51c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/librustc/middle/ty.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ pub enum AutoRef {
220220
/// Convert from T to &T
221221
AutoPtr(Region, ast::Mutability),
222222

223-
/// Convert from ~[]/&[] to &[] (or str)
223+
/// Convert from ~[]/&[] to &[] or str
224224
AutoBorrowVec(Region, ast::Mutability),
225225

226-
/// Convert from ~[]/&[] to &&[] (or str)
226+
/// Convert from ~[]/&[] to &&[] or str
227227
AutoBorrowVecRef(Region, ast::Mutability),
228228

229229
/// Convert from T to *T

src/libstd/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
//!
3333
//! ## Pervasive types
3434
//!
35-
//! The [`option`](option/index.html) and [`result`](result/index.html)
35+
//! The [`option`](option/index.html) and [`result`](../core/result/index.html)
3636
//! modules define optional and error-handling types, `Option` and `Result`.
3737
//! [`iter`](../core/iter/index.html) defines Rust's iterator protocol
3838
//! along with a wide variety of iterators.

src/libsyntax/attr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ pub fn test_cfg<AM: AttrMetaMethods, It: Iterator<AM>>
336336
no_cfgs || some_cfg_matches
337337
}
338338

339-
/// Represents the #[deprecated="foo"] (etc) attributes.
339+
/// Represents the #[deprecated="foo"] and friends attributes.
340340
pub struct Stability {
341341
pub level: StabilityLevel,
342342
pub text: Option<InternedString>

0 commit comments

Comments
 (0)