From 8b65a4587974fbd304d4022129044b93f7e03079 Mon Sep 17 00:00:00 2001 From: Erik Lyon Date: Sun, 13 Oct 2013 10:49:44 -0700 Subject: [PATCH] fix typos in doc/tutorial.md --- doc/tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index 2567875b7b9..3723d12262b 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -2811,7 +2811,7 @@ For every crate you can define a number of metadata items, such as link name, ve You can also toggle settings that have crate-global consequences. Both mechanism work by providing attributes in the crate root. -For example, Rust uniquely identifies crates by their link metadate, which includes +For example, Rust uniquely identifies crates by their link metadata, which includes the link name and the version. It also hashes the filename and the symbols in a binary based on the link metadata, allowing you to use two different versions of the same library in a crate without conflict. @@ -2916,7 +2916,7 @@ As well as this line into every module body: use std::prelude::*; ~~~ -The role of the `prelude` module is to re-exports common definitions from `std`. +The role of the `prelude` module is to re-export common definitions from `std`. This allows you to use common types and functions like `Option` or `println` without needing to import them. And if you need something from `std` that's not in the prelude,