File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
branches/try/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 2
2
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
- refs/heads/try: 5a1b336a01608081b5755909b2f3c97e460362a2
5
+ refs/heads/try: 7a52835c1a6da00dd054c2e934a70a0c231dffd1
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
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