diff options
| author | bors <bors@rust-lang.org> | 2015-05-21 08:19:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-05-21 08:19:17 +0000 |
| commit | d3543099d60d2bc68491ffd9691d4ee5d7f9d082 (patch) | |
| tree | 4bed2b3b2d93b2f71583f65dcb1e2034a5bbd979 | |
| parent | 4423748eb85c98df3baccd8f1178bc10d7180119 (diff) | |
| parent | 06d343b691439e363be26c36cbf4484027309793 (diff) | |
| download | rust-d3543099d60d2bc68491ffd9691d4ee5d7f9d082.tar.gz rust-d3543099d60d2bc68491ffd9691d4ee5d7f9d082.zip | |
Auto merge of #25671 - Manishearth:rollup, r=Manishearth
- Successful merges: #25648, #25659, #25661, #25665 - Failed merges:
| -rwxr-xr-x | configure | 4 | ||||
| -rw-r--r-- | src/doc/trpl/macros.md | 6 | ||||
| -rw-r--r-- | src/doc/trpl/strings.md | 2 | ||||
| -rw-r--r-- | src/libcore/marker.rs | 5 |
4 files changed, 8 insertions, 9 deletions
diff --git a/configure b/configure index 4f3375b8668..9b8207ee915 100755 --- a/configure +++ b/configure @@ -717,10 +717,10 @@ probe CFG_MD5 md5 probe CFG_MD5SUM md5sum if [ -n "$CFG_MD5" ] then - CFG_HASH_COMMAND="$CFG_MD5 -q | head -c 8" + CFG_HASH_COMMAND="$CFG_MD5 -q | cut -c 1-8" elif [ -n "$CFG_MD5SUM" ] then - CFG_HASH_COMMAND="$CFG_MD5SUM | head -c 8" + CFG_HASH_COMMAND="$CFG_MD5SUM | cut -c 1-8" else err 'could not find one of: md5 md5sum' fi diff --git a/src/doc/trpl/macros.md b/src/doc/trpl/macros.md index cc7d9b595f9..a45d4824f41 100644 --- a/src/doc/trpl/macros.md +++ b/src/doc/trpl/macros.md @@ -476,9 +476,9 @@ which syntactic form it matches. There are additional rules regarding the next token after a metavariable: -* `expr` variables must be followed by one of: `=> , ;` -* `ty` and `path` variables must be followed by one of: `=> , : = > as` -* `pat` variables must be followed by one of: `=> , =` +* `expr` variables may only be followed by one of: `=> , ;` +* `ty` and `path` variables may only be followed by one of: `=> , : = > as` +* `pat` variables may only be followed by one of: `=> , =` * Other variables may be followed by any token. These rules provide some flexibility for Rust’s syntax to evolve without diff --git a/src/doc/trpl/strings.md b/src/doc/trpl/strings.md index abe17a96b39..c354fd09edd 100644 --- a/src/doc/trpl/strings.md +++ b/src/doc/trpl/strings.md @@ -123,7 +123,7 @@ let world = "world!".to_string(); let hello_world = hello + &world; ``` -This is because `&String` can automatically coerece to a `&str`. This is a +This is because `&String` can automatically coerce to a `&str`. This is a feature called ‘[`Deref` coercions][dc]’. [dc]: deref-coercions.html diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs index 5909c5cc30e..86e91df38ab 100644 --- a/src/libcore/marker.rs +++ b/src/libcore/marker.rs @@ -120,11 +120,10 @@ pub trait Unsize<T> { /// ``` /// /// The `PointList` `struct` cannot implement `Copy`, because `Vec<T>` is not `Copy`. If we -/// attempt to derive a `Copy` implementation, we'll get an error. +/// attempt to derive a `Copy` implementation, we'll get an error: /// /// ```text -/// error: the trait `Copy` may not be implemented for this type; field `points` does not implement -/// `Copy` +/// the trait `Copy` may not be implemented for this type; field `points` does not implement `Copy` /// ``` /// /// ## How can I implement `Copy`? |
