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 @@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
23
23
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
24
24
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
- refs/heads/beta: e8758e44b40e0ed6cfdf19efe96972624a90758d
26
+ refs/heads/beta: a7f4a8e50da5525ff44fd61fb2c8f67e92eb072d
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
28
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
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