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 @@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
26
refs/heads/beta: d2e13e822a73e0ea46ae9e21afdd3155fc997f6d
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
- refs/heads/tmp: e8758e44b40e0ed6cfdf19efe96972624a90758d
28
+ refs/heads/tmp: a7f4a8e50da5525ff44fd61fb2c8f67e92eb072d
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: ab792abf1fcc28afbd315426213f6428da25c085
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
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