Skip to content

Commit 75efb22

Browse files
committed
Rollup merge of rust-lang#21359 - WiSaGaN:bugfix/fix_marker, r=alexcrichton
From std::markers to std::marker.
2 parents 33ea011 + e28da7a commit 75efb22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/doc/trpl/unsafe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,10 +703,10 @@ Other features provided by lang items include:
703703
`deref`, and `add` respectively.
704704
- stack unwinding and general failure; the `eh_personality`, `fail`
705705
and `fail_bounds_checks` lang items.
706-
- the traits in `std::markers` used to indicate types of
706+
- the traits in `std::marker` used to indicate types of
707707
various kinds; lang items `send`, `sync` and `copy`.
708708
- the marker types and variance indicators found in
709-
`std::markers`; lang items `covariant_type`,
709+
`std::marker`; lang items `covariant_type`,
710710
`contravariant_lifetime`, `no_sync_bound`, etc.
711711

712712
Lang items are loaded lazily by the compiler; e.g. if one never uses

src/libstd/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//!
1919
//! The [`ptr`](ptr/index.html) and [`mem`](mem/index.html)
2020
//! modules deal with unsafe pointers and memory manipulation.
21-
//! [`markers`](markers/index.html) defines the special built-in traits,
21+
//! [`marker`](marker/index.html) defines the special built-in traits,
2222
//! and [`raw`](raw/index.html) the runtime representation of Rust types.
2323
//! These are some of the lowest-level building blocks in Rust.
2424
//!

0 commit comments

Comments
 (0)