File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
8
8
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
9
9
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
10
10
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11
- refs/heads/auto: e8758e44b40e0ed6cfdf19efe96972624a90758d
11
+ refs/heads/auto: a7f4a8e50da5525ff44fd61fb2c8f67e92eb072d
12
12
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
13
13
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
14
14
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ formal `#[link(...)]` attribute on `extern` blocks instead.
34
34
35
35
# Static linking
36
36
37
- Static linking refers to the process of creating output that contain all
38
- required libraries and so don 't need libraries installed on every system where
37
+ Static linking refers to the process of creating output that contains all
38
+ required libraries and so doesn 't need libraries installed on every system where
39
39
you want to use your compiled project. Pure-Rust dependencies are statically
40
40
linked by default so you can use created binaries and libraries without
41
41
installing Rust everywhere. By contrast, native libraries
Original file line number Diff line number Diff line change 32
32
/// Note that unlike array expressions this syntax supports all elements
33
33
/// which implement `Clone` and the number of elements doesn't have to be
34
34
/// a constant.
35
+ ///
36
+ /// This will use `clone()` to duplicate an expression, so one should be careful
37
+ /// using this with types having a nonstandard `Clone` implementation. For
38
+ /// example, `vec![Rc::new(1); 5]` will create a vector of five references
39
+ /// to the same boxed integer value, not five references pointing to independently
40
+ /// boxed integers.
35
41
#[ cfg( not( test) ) ]
36
42
#[ macro_export]
37
43
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
Original file line number Diff line number Diff line change @@ -2236,8 +2236,7 @@ impl<'a> Parser<'a> {
2236
2236
self . span_err ( last_span,
2237
2237
"structure literal must either \
2238
2238
have at least one field or use \
2239
- functional structure update \
2240
- syntax") ;
2239
+ structure update syntax") ;
2241
2240
}
2242
2241
2243
2242
hi = self . span . hi ;
You can’t perform that action at this time.
0 commit comments