Skip to content

Commit fc5c0b8

Browse files
committed
---
yaml --- r: 236031 b: refs/heads/stable c: 9c87b1f h: refs/heads/master i: 236029: f1827fc 236027: 18f4972 236023: cefe885 236015: 6a94029 235999: 6e8cc28 235967: 029c54d 235903: 68595d7 235775: 072bc97 235519: a8b5df3 v: v3
1 parent 97528d6 commit fc5c0b8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 2d5c1bbee053ff2398f42cc7229738f33f78ff4b
32+
refs/heads/stable: 9c87b1f8dbc3105e3e9338b169d0884ce7a902af
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/conversions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,10 @@ expression, `e as U2` is not necessarily so (in fact it will only be valid if
210210
For numeric casts, there are quite a few cases to consider:
211211

212212
* casting between two integers of the same size (e.g. i32 -> u32) is a no-op
213-
* casting from a larger integer to a smaller integer (e.g. u32 -> u8) will truncate
214-
* casting from a smaller integer to a larger integer (e.g. u8 -> u32) will
215-
* zero-extend if the source is unsigned
216-
* sign-extend if the source is signed
213+
* casting from a smaller integer to a bigger integer (e.g. u32 -> u8) will truncate
214+
* casting from a larger integer to a smaller integer (e.g. u8 -> u32) will
215+
* zero-extend if the target is unsigned
216+
* sign-extend if the target is signed
217217
* casting from a float to an integer will round the float towards zero
218218
* **NOTE: currently this will cause Undefined Behaviour if the rounded
219219
value cannot be represented by the target integer type**. This is a bug

branches/stable/data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ one.
236236
This is the most important `repr`. It has fairly simple intent: do what C does.
237237
The order, size, and alignment of fields is exactly what you would expect from
238238
C or C++. Any type you expect to pass through an FFI boundary should have `repr(C)`,
239-
as C is the lingua-franca of the programming world. However this is also necessary
239+
as C is the lingua-franca of the programming world. This is also necessary
240240
to soundly do more elaborate tricks with data layout such as reintepretting values
241241
as a different type.
242242

branches/stable/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ struct Vec<T> {
230230
}
231231

232232
// Note this implementation does not correctly handle zero-sized types.
233-
// We currently live in a nice imaginary world of only positive fixed-size
233+
// We currently live in a nice imaginary world of only postive fixed-size
234234
// types.
235235
impl<T> Vec<T> {
236236
fn push(&mut self, elem: T) {

0 commit comments

Comments
 (0)