Skip to content

Commit d354309

Browse files
committed
Auto merge of #25671 - Manishearth:rollup, r=Manishearth
- Successful merges: #25648, #25659, #25661, #25665 - Failed merges:
2 parents 4423748 + 06d343b commit d354309

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,10 +717,10 @@ probe CFG_MD5 md5
717717
probe CFG_MD5SUM md5sum
718718
if [ -n "$CFG_MD5" ]
719719
then
720-
CFG_HASH_COMMAND="$CFG_MD5 -q | head -c 8"
720+
CFG_HASH_COMMAND="$CFG_MD5 -q | cut -c 1-8"
721721
elif [ -n "$CFG_MD5SUM" ]
722722
then
723-
CFG_HASH_COMMAND="$CFG_MD5SUM | head -c 8"
723+
CFG_HASH_COMMAND="$CFG_MD5SUM | cut -c 1-8"
724724
else
725725
err 'could not find one of: md5 md5sum'
726726
fi

src/doc/trpl/macros.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,9 @@ which syntactic form it matches.
476476

477477
There are additional rules regarding the next token after a metavariable:
478478

479-
* `expr` variables must be followed by one of: `=> , ;`
480-
* `ty` and `path` variables must be followed by one of: `=> , : = > as`
481-
* `pat` variables must be followed by one of: `=> , =`
479+
* `expr` variables may only be followed by one of: `=> , ;`
480+
* `ty` and `path` variables may only be followed by one of: `=> , : = > as`
481+
* `pat` variables may only be followed by one of: `=> , =`
482482
* Other variables may be followed by any token.
483483

484484
These rules provide some flexibility for Rust’s syntax to evolve without

src/doc/trpl/strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ let world = "world!".to_string();
123123
let hello_world = hello + &world;
124124
```
125125

126-
This is because `&String` can automatically coerece to a `&str`. This is a
126+
This is because `&String` can automatically coerce to a `&str`. This is a
127127
feature called ‘[`Deref` coercions][dc]’.
128128

129129
[dc]: deref-coercions.html

src/libcore/marker.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,10 @@ pub trait Unsize<T> {
120120
/// ```
121121
///
122122
/// The `PointList` `struct` cannot implement `Copy`, because `Vec<T>` is not `Copy`. If we
123-
/// attempt to derive a `Copy` implementation, we'll get an error.
123+
/// attempt to derive a `Copy` implementation, we'll get an error:
124124
///
125125
/// ```text
126-
/// error: the trait `Copy` may not be implemented for this type; field `points` does not implement
127-
/// `Copy`
126+
/// the trait `Copy` may not be implemented for this type; field `points` does not implement `Copy`
128127
/// ```
129128
///
130129
/// ## How can I implement `Copy`?

0 commit comments

Comments
 (0)