File tree Expand file tree Collapse file tree 4 files changed +8
-9
lines changed
Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -717,10 +717,10 @@ probe CFG_MD5 md5
717717probe CFG_MD5SUM md5sum
718718if [ -n " $CFG_MD5 " ]
719719then
720- CFG_HASH_COMMAND=" $CFG_MD5 -q | head -c 8"
720+ CFG_HASH_COMMAND=" $CFG_MD5 -q | cut -c 1- 8"
721721elif [ -n " $CFG_MD5SUM " ]
722722then
723- CFG_HASH_COMMAND=" $CFG_MD5SUM | head -c 8"
723+ CFG_HASH_COMMAND=" $CFG_MD5SUM | cut -c 1- 8"
724724else
725725 err ' could not find one of: md5 md5sum'
726726fi
Original file line number Diff line number Diff line change @@ -476,9 +476,9 @@ which syntactic form it matches.
476476
477477There 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
484484These rules provide some flexibility for Rust’s syntax to evolve without
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ let world = "world!".to_string();
123123let 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
127127feature called ‘[ ` Deref ` coercions] [ dc ] ’.
128128
129129[ dc ] : deref-coercions.html
Original file line number Diff line number Diff 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`?
You can’t perform that action at this time.
0 commit comments