Skip to content

Commit 5d9098f

Browse files
committed
auto merge of #989 : jbcrail/cargo/fix-doc-spelling, r=steveklabnik
I just made minor corrections.
2 parents 70f5205 + 817e308 commit 5d9098f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/doc/build-script.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Some example use cases of the build command are:
2727
* Building a bundled C library.
2828
* Finding a C library on the host system.
2929
* Generating a Rust module from a specification.
30-
* Performing any platform-specific configuration neeeded for the crate.
30+
* Performing any platform-specific configuration needed for the crate.
3131

3232
Each of these use cases will be detailed in full below to give examples of how
3333
the build command works.
@@ -203,7 +203,7 @@ authors = ["[email protected]"]
203203
build = "build.rs"
204204
```
205205

206-
Here we can se we've got a build script specified which we'll use to generate
206+
Here we can see we've got a build script specified which we'll use to generate
207207
some code. Let's see what's inside the build script:
208208

209209
```rust,no_run
@@ -225,10 +225,10 @@ fn main() {
225225

226226
There's a couple of points of note here:
227227

228-
* The script uses the `OUT_DIR` environment variable to discover where the ouput
229-
files should be located. It can use the process's current working directory to
230-
find where the input files should be located, but in this case we don't have
231-
any input files.
228+
* The script uses the `OUT_DIR` environment variable to discover where the
229+
output files should be located. It can use the process's current working
230+
directory to find where the input files should be located, but in this case we
231+
don't have any input files.
232232
* This script is relatively simple as it just writes out a small generated file.
233233
One could imagine that other more fanciful operations could take place such as
234234
generating a Rust module from a C header file or another language definition,

src/doc/guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ rev = "bf739419e2d31050615c1ba1a395b474269a4"
245245

246246
Now, our builds will be the same. But, there's a big drawback: now we have to
247247
manually think about SHA-1s every time we want to update our library. This is
248-
both tedius and error prone.
248+
both tedious and error prone.
249249

250250
Enter the `Cargo.lock`. Because of its existence, we don't need to manually
251251
keep track of the exact revisions: Cargo will do it for us. When we have a

src/doc/pkgid-spec.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ registry at `crates.io`
3838

3939
## Brevity of Specifications
4040

41-
The goal of this is to enable both succinct and exhausitive syntaxes for
41+
The goal of this is to enable both succinct and exhaustive syntaxes for
4242
referring to packages in a dependency graph. Ambiguous references may refer to
4343
one or more packages. Most commands generate an error if more than one package
4444
could be referred to with the same specification.

0 commit comments

Comments
 (0)