Skip to content

Commit 531d5a3

Browse files
committed
---
yaml --- r: 234414 b: refs/heads/tmp c: a7f4a8e h: refs/heads/master v: v3
1 parent 4e5f840 commit 531d5a3

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2626
refs/heads/beta: d2e13e822a73e0ea46ae9e21afdd3155fc997f6d
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28-
refs/heads/tmp: e8758e44b40e0ed6cfdf19efe96972624a90758d
28+
refs/heads/tmp: a7f4a8e50da5525ff44fd61fb2c8f67e92eb072d
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: ab792abf1fcc28afbd315426213f6428da25c085
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828

branches/tmp/src/doc/trpl/advanced-linking.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ formal `#[link(...)]` attribute on `extern` blocks instead.
3434

3535
# Static linking
3636

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
3939
you want to use your compiled project. Pure-Rust dependencies are statically
4040
linked by default so you can use created binaries and libraries without
4141
installing Rust everywhere. By contrast, native libraries

branches/tmp/src/libcollections/macros.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
/// Note that unlike array expressions this syntax supports all elements
3333
/// which implement `Clone` and the number of elements doesn't have to be
3434
/// 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.
3541
#[cfg(not(test))]
3642
#[macro_export]
3743
#[stable(feature = "rust1", since = "1.0.0")]

branches/tmp/src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2236,8 +2236,7 @@ impl<'a> Parser<'a> {
22362236
self.span_err(last_span,
22372237
"structure literal must either \
22382238
have at least one field or use \
2239-
functional structure update \
2240-
syntax");
2239+
structure update syntax");
22412240
}
22422241

22432242
hi = self.span.hi;

0 commit comments

Comments
 (0)