Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 4274ba4

Browse files
committed
Use lowercase for prelude items
1 parent 4a6014b commit 4274ba4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

library/std/src/prelude/mod.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,34 +29,34 @@
2929
//! [`std::prelude::v1`], and re-exports the following:
3030
//!
3131
//! * [`std::marker`]::{[`Copy`], [`Send`], [`Sized`], [`Sync`], [`Unpin`]}:
32-
//! Marker traits that indicate fundamental properties of types.
33-
//! * [`std::ops`]::{[`Drop`], [`Fn`], [`FnMut`], [`FnOnce`]}: Various
32+
//! marker traits that indicate fundamental properties of types.
33+
//! * [`std::ops`]::{[`Drop`], [`Fn`], [`FnMut`], [`FnOnce`]}: various
3434
//! operations for both destructors and overloading `()`.
35-
//! * [`std::mem`]::[`drop`][`mem::drop`]: A convenience function for explicitly
35+
//! * [`std::mem`]::[`drop`][`mem::drop`]: a convenience function for explicitly
3636
//! dropping a value.
37-
//! * [`std::boxed`]::[`Box`]: A way to allocate values on the heap.
38-
//! * [`std::borrow`]::[`ToOwned`]: The conversion trait that defines
37+
//! * [`std::boxed`]::[`Box`]: a way to allocate values on the heap.
38+
//! * [`std::borrow`]::[`ToOwned`]: the conversion trait that defines
3939
//! [`to_owned`], the generic method for creating an owned type from a
4040
//! borrowed type.
41-
//! * [`std::clone`]::[`Clone`]: The ubiquitous trait that defines
41+
//! * [`std::clone`]::[`Clone`]: the ubiquitous trait that defines
4242
//! [`clone`][`Clone::clone`], the method for producing a copy of a value.
43-
//! * [`std::cmp`]::{[`PartialEq`], [`PartialOrd`], [`Eq`], [`Ord`]}: The
43+
//! * [`std::cmp`]::{[`PartialEq`], [`PartialOrd`], [`Eq`], [`Ord`]}: the
4444
//! comparison traits, which implement the comparison operators and are often
4545
//! seen in trait bounds.
46-
//! * [`std::convert`]::{[`AsRef`], [`AsMut`], [`Into`], [`From`]}: Generic
46+
//! * [`std::convert`]::{[`AsRef`], [`AsMut`], [`Into`], [`From`]}: generic
4747
//! conversions, used by savvy API authors to create overloaded methods.
4848
//! * [`std::default`]::[`Default`], types that have default values.
4949
//! * [`std::iter`]::{[`Iterator`], [`Extend`], [`IntoIterator`],
50-
//! [`DoubleEndedIterator`], [`ExactSizeIterator`]}: Iterators of various
50+
//! [`DoubleEndedIterator`], [`ExactSizeIterator`]}: iterators of various
5151
//! kinds.
5252
//! * [`std::option`]::[`Option`]::{[`self`][`Option`], [`Some`], [`None`]}, a
5353
//! type which expresses the presence or absence of a value. This type is so
5454
//! commonly used, its variants are also exported.
55-
//! * [`std::result`]::[`Result`]::{[`self`][`Result`], [`Ok`], [`Err`]}: A type
55+
//! * [`std::result`]::[`Result`]::{[`self`][`Result`], [`Ok`], [`Err`]}: a type
5656
//! for functions that may succeed or fail. Like [`Option`], its variants are
5757
//! exported as well.
58-
//! * [`std::string`]::{[`String`], [`ToString`]}: Heap-allocated strings.
59-
//! * [`std::vec`]::[`Vec`]: A growable, heap-allocated vector.
58+
//! * [`std::string`]::{[`String`], [`ToString`]}: heap-allocated strings.
59+
//! * [`std::vec`]::[`Vec`]: a growable, heap-allocated vector.
6060
//!
6161
//! [`mem::drop`]: crate::mem::drop
6262
//! [`std::borrow`]: crate::borrow

0 commit comments

Comments
 (0)