diff options
| author | Bastien Orivel <eijebong@bananium.fr> | 2017-08-11 00:31:47 +0200 |
|---|---|---|
| committer | Bastien Orivel <eijebong@bananium.fr> | 2017-08-11 00:31:47 +0200 |
| commit | ea5be96bab45a68d5877acdfab88404df7376209 (patch) | |
| tree | 6b35d3cfd960bf4961f435004b216aca38ae45c0 /src | |
| parent | 47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de (diff) | |
| download | rust-ea5be96bab45a68d5877acdfab88404df7376209.tar.gz rust-ea5be96bab45a68d5877acdfab88404df7376209.zip | |
Fix some more typos, this time words that are duplicated.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/ops/unsize.rs | 2 | ||||
| -rw-r--r-- | src/libproc_macro/lib.rs | 2 | ||||
| -rw-r--r-- | src/librustc_driver/driver.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/ops/unsize.rs b/src/libcore/ops/unsize.rs index 1914216e9f0..58da290cfb6 100644 --- a/src/libcore/ops/unsize.rs +++ b/src/libcore/ops/unsize.rs @@ -24,7 +24,7 @@ use marker::Unsize; /// Such an impl can only be written if `Foo<T>` has only a single non-phantomdata /// field involving `T`. If the type of that field is `Bar<T>`, an implementation /// of `CoerceUnsized<Bar<U>> for Bar<T>` must exist. The coercion will work by -/// by coercing the `Bar<T>` field into `Bar<U>` and filling in the rest of the fields +/// coercing the `Bar<T>` field into `Bar<U>` and filling in the rest of the fields /// from `Foo<T>` to create a `Foo<U>`. This will effectively drill down to a pointer /// field and coerce that. /// diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs index 1bffffd6c9e..6a71e67676a 100644 --- a/src/libproc_macro/lib.rs +++ b/src/libproc_macro/lib.rs @@ -111,7 +111,7 @@ impl fmt::Display for TokenStream { /// `quote!(..)` accepts arbitrary tokens and expands into a `TokenStream` describing the input. /// For example, `quote!(a + b)` will produce a expression, that, when evaluated, constructs -/// constructs the `TokenStream` `[Word("a"), Op('+', Alone), Word("b")]`. +/// the `TokenStream` `[Word("a"), Op('+', Alone), Word("b")]`. /// /// Unquoting is done with `$`, and works by taking the single next ident as the unquoted term. /// To quote `$` itself, use `$$`. diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index 22f98454f6c..eb233aa203a 100644 --- a/src/librustc_driver/driver.rs +++ b/src/librustc_driver/driver.rs @@ -282,7 +282,7 @@ pub fn source_name(input: &Input) -> String { /// This is a somewhat higher level controller than a Session - the Session /// controls what happens in each phase, whereas the CompileController controls /// whether a phase is run at all and whether other code (from outside the -/// the compiler) is run between phases. +/// compiler) is run between phases. /// /// Note that if compilation is set to stop and a callback is provided for a /// given entry point, the callback is called before compilation is stopped. |
