Skip to content

Commit 8e13442

Browse files
committed
---
yaml --- r: 160294 b: refs/heads/master c: 5b5638f h: refs/heads/master v: v3
1 parent a912670 commit 8e13442

File tree

195 files changed

+5820
-6353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+5820
-6353
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 00ffcca0164504ecae8453750a053e2b7206264a
2+
refs/heads/master: 5b5638f6863803477d56e200d6a9a208015838c1
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 96c8f2b0c1846756e617f1f1fc1372c506e24248
55
refs/heads/try: 225de0d60f8ca8dcc62ab2fd8818ebbda4b58cfe

trunk/configure

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,6 @@ do
10311031
make_dir $h/test/doc-guide-tasks
10321032
make_dir $h/test/doc-guide-plugin
10331033
make_dir $h/test/doc-guide-crates
1034-
make_dir $h/test/doc-guide-error-handling
10351034
make_dir $h/test/doc-rust
10361035
done
10371036

trunk/mk/docs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
######################################################################
2828
DOCS := index intro tutorial guide guide-ffi guide-macros guide-lifetimes \
2929
guide-tasks guide-container guide-pointers guide-testing \
30-
guide-plugin guide-crates complement-bugreport guide-error-handling \
30+
guide-plugin guide-crates complement-bugreport \
3131
complement-lang-faq complement-design-faq complement-project-faq \
3232
rustdoc guide-unsafe guide-strings reference
3333

trunk/src/doc/guide-error-handling.md

Lines changed: 0 additions & 227 deletions
This file was deleted.

trunk/src/doc/guide.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ $ ./main # or main.exe on Windows
159159
Hello, world!
160160
```
161161

162-
You can also run these examples on [play.rust-lang.org](http://play.rust-lang.org/) by clicking on the arrow that appears in the upper right of the example when you mouse over the code.
163-
164162
Success! Let's go over what just happened in detail.
165163

166164
```{rust}

trunk/src/doc/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ a guide that can help you out:
5959
* [References and Lifetimes](guide-lifetimes.html)
6060
* [Crates and modules](guide-crates.html)
6161
* [Tasks and Communication](guide-tasks.html)
62-
* [Error Handling](guide-error-handling.html)
6362
* [Foreign Function Interface](guide-ffi.html)
6463
* [Writing Unsafe and Low-Level Code](guide-unsafe.html)
6564
* [Macros](guide-macros.html)

trunk/src/doc/po4a.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
[type: text] src/doc/guide-testing.md $lang:doc/l10n/$lang/guide-testing.md
2121
[type: text] src/doc/guide-unsafe.md $lang:doc/l10n/$lang/guide-unsafe.md
2222
[type: text] src/doc/guide-crates.md $lang:doc/l10n/$lang/guide-crates.md
23-
[type: text] src/doc/guide-error-handling.md $lang:doc/l10n/$lang/guide-error-handling.md
2423
[type: text] src/doc/guide.md $lang:doc/l10n/$lang/guide.md
2524
[type: text] src/doc/index.md $lang:doc/l10n/$lang/index.md
2625
[type: text] src/doc/intro.md $lang:doc/l10n/$lang/intro.md

trunk/src/doc/reference.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3433,7 +3433,7 @@ use to avoid conflicts is simply to name variants with upper-case letters, and
34333433
local variables with lower-case letters.
34343434

34353435
Multiple match patterns may be joined with the `|` operator. A range of values
3436-
may be specified with `...`. For example:
3436+
may be specified with `..`. For example:
34373437

34383438
```
34393439
# let x = 2i;
@@ -3557,14 +3557,17 @@ The machine types are the following:
35573557

35583558
#### Machine-dependent integer types
35593559

3560-
The `uint` type is an unsigned integer type with the same number of bits as the
3561-
platform's pointer type. It can represent every memory address in the process.
3560+
The Rust type `uint` [^rustuint] is an
3561+
unsigned integer type with target-machine-dependent size. Its size, in
3562+
bits, is equal to the number of bits required to hold any memory address on
3563+
the target machine.
35623564

3563-
The `int` type is a signed integer type with the same number of bits as the
3564-
platform's pointer type. The theoretical upper bound on object and array size
3565-
is the maximum `int` value. This ensures that `int` can be used to calculate
3566-
differences between pointers into an object or array and can address every byte
3567-
within an object along with one byte past the end.
3565+
The Rust type `int` [^rustint] is a two's complement signed integer type with
3566+
target-machine-dependent size. Its size, in bits, is equal to the size of the
3567+
rust type `uint` on the same target machine.
3568+
3569+
[^rustuint]: A Rust `uint` is analogous to a C99 `uintptr_t`.
3570+
[^rustint]: A Rust `int` is analogous to a C99 `intptr_t`.
35683571

35693572
### Textual types
35703573

0 commit comments

Comments
 (0)