Skip to content

Commit

Permalink
Auto merge of #2957 - mattico:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix typos in source-replacement docs
  • Loading branch information
bors authored Aug 5, 2016
2 parents fd90fd6 + 1ac7875 commit dc90d15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/source-replacement.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
% Replacing sources

Cargo supports the ability to **replace one source with another** to express
strategies along the lines of mirrors or vendoering dependencies. Configuration
strategies along the lines of mirrors or vendoring dependencies. Configuration
is currently done through the [`.cargo/config` configuration][config] mechanism,
like so:

[config]: config.html

```toml
# The `source` table is where all keys related to source-replacement
# are store.
# are stored.
[source]

# Under the `source` table are a number of other tables whose keys are a
Expand All @@ -27,7 +27,7 @@ directory = "vendor"
replace-with = "my-awesome-source"
```

With this configuration Cargo attempt to look up all crates in the directory
With this configuration Cargo attempts to look up all crates in the directory
"vendor" rather than querying the online registry at crates.io. Using source
replacement Cargo can express:

Expand Down

0 comments on commit dc90d15

Please sign in to comment.