File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
branches/snap-stage3/src/doc/trpl Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 5a1b336a01608081b5755909b2f3c97e460362a2
4
+ refs/heads/snap-stage3: 7a52835c1a6da00dd054c2e934a70a0c231dffd1
5
5
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -31,10 +31,8 @@ static N: i32 = 5;
31
31
32
32
Unlike [ ` let ` ] [ let ] bindings, you must annotate the type of a ` static ` .
33
33
34
- [ let ] : variable-bindings.html
35
-
36
34
Statics live for the entire lifetime of a program, and therefore any
37
- reference stored in a constant has a [ ` ’ static` lifetime] [ lifetimes ] :
35
+ reference stored in a constant has a [ ` ' static` lifetime] [ lifetimes ] :
38
36
39
37
``` rust
40
38
static NAME : & 'static str = " Steve" ;
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ $ sh rustup.sh --channel=nightly
26
26
If you're on Windows, please download either the [ 32-bit installer] [ win32 ] or
27
27
the [ 64-bit installer] [ win64 ] and run it.
28
28
29
- [ win32 ] : https://static.rust-lang.org/dist/rust-1.0.0-beta -i686-pc-windows-gnu.msi
30
- [ win64 ] : https://static.rust-lang.org/dist/rust-1.0.0-beta -x86_64-pc-windows-gnu.msi
29
+ [ win32 ] : https://static.rust-lang.org/dist/rust-nightly -i686-pc-windows-gnu.msi
30
+ [ win64 ] : https://static.rust-lang.org/dist/rust-nightly -x86_64-pc-windows-gnu.msi
31
31
32
32
## Uninstalling
33
33
You can’t perform that action at this time.
0 commit comments