@@ -85,16 +85,16 @@ fn main() {
8585
8686## Preludes and ` no_std `
8787
88- All crates have a * prelude* that automatically inserts a [ use declaration ] into
89- each [ module] and an [ ` extern crate] ` into the crate root module. By default,
90- the * standard prelude * is used. The linked crate is [ ` std ` ] and the [ use
91- delcaration ] uses [ ` std::prelude::v1::* ` ] .
88+ All crates have a * prelude* that automatically inserts paths of a specific
89+ module, the * prelude module * , into scope of each [ module] and an [ `extern
90+ crate ] ` into the crate root module. By default, the * standard prelude * is used.
91+ The linked crate is [ ` std ` ] and the prelude module is [ ` std::prelude::v1 ` ] .
9292
9393The prelude can be changed to the * core prelude* by using the ` no_std `
9494[ attribute] on the root crate module. The linked crate is [ ` core ` ] and the
95- [ ` use ` declaration ] uses [ ` core::prelude::v1::* ` ] . Using the core prelude over
96- the standard prelude is useful when either the crate is targeting a platform
97- that does not support the standard library or is purposefully not using the
95+ prelude module is [ ` core::prelude::v1 ` ] . Using the core prelude over the
96+ standard prelude is useful when either the crate is targeting a platform that
97+ does not support the standard library or is purposefully not using the
9898capabilities of the standard library. Those capabilities are mainly dynamic
9999memory allocation (e.g. ` Box ` and ` Vec ` ) and file and network capabilities (e.g.
100100` std::fs ` and ` std::io ` ).
@@ -139,9 +139,9 @@ type must be one of the following:
139139[ _utf8 byte order mark_ ] : https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8
140140[ `Termination` ] : ../std/process/trait.Termination.html
141141[ `core` ] : ../core/index.html
142- [ `core::prelude::v1::* ` ] : ../core/preludce.index.html
142+ [ `core::prelude::v1` ] : ../core/preludce.index.html
143143[ `std` ] : ../std/index.html
144- [ `std::prelude::v1::* ` ] : ../std/prelude/index.html
144+ [ `std::prelude::v1` ] : ../std/prelude/index.html
145145[ `use` declaration ] : items/use-declarations.html
146146[ attribute ] : attributes.html
147147[ attributes ] : attributes.html
0 commit comments