mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
doc: Fix some broken links
This commit is contained in:
parent
799ddba8da
commit
1ccc51ce3b
@ -220,10 +220,10 @@ pub enum AutoRef {
|
|||||||
/// Convert from T to &T
|
/// Convert from T to &T
|
||||||
AutoPtr(Region, ast::Mutability),
|
AutoPtr(Region, ast::Mutability),
|
||||||
|
|
||||||
/// Convert from ~[]/&[] to &[] (or str)
|
/// Convert from ~[]/&[] to &[] or str
|
||||||
AutoBorrowVec(Region, ast::Mutability),
|
AutoBorrowVec(Region, ast::Mutability),
|
||||||
|
|
||||||
/// Convert from ~[]/&[] to &&[] (or str)
|
/// Convert from ~[]/&[] to &&[] or str
|
||||||
AutoBorrowVecRef(Region, ast::Mutability),
|
AutoBorrowVecRef(Region, ast::Mutability),
|
||||||
|
|
||||||
/// Convert from T to *T
|
/// Convert from T to *T
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
//!
|
//!
|
||||||
//! ## Pervasive types
|
//! ## Pervasive types
|
||||||
//!
|
//!
|
||||||
//! The [`option`](option/index.html) and [`result`](result/index.html)
|
//! The [`option`](option/index.html) and [`result`](../core/result/index.html)
|
||||||
//! modules define optional and error-handling types, `Option` and `Result`.
|
//! modules define optional and error-handling types, `Option` and `Result`.
|
||||||
//! [`iter`](../core/iter/index.html) defines Rust's iterator protocol
|
//! [`iter`](../core/iter/index.html) defines Rust's iterator protocol
|
||||||
//! along with a wide variety of iterators.
|
//! along with a wide variety of iterators.
|
||||||
|
@ -336,7 +336,7 @@ pub fn test_cfg<AM: AttrMetaMethods, It: Iterator<AM>>
|
|||||||
no_cfgs || some_cfg_matches
|
no_cfgs || some_cfg_matches
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Represents the #[deprecated="foo"] (etc) attributes.
|
/// Represents the #[deprecated="foo"] and friends attributes.
|
||||||
pub struct Stability {
|
pub struct Stability {
|
||||||
pub level: StabilityLevel,
|
pub level: StabilityLevel,
|
||||||
pub text: Option<InternedString>
|
pub text: Option<InternedString>
|
||||||
|
Loading…
Reference in New Issue
Block a user