Skip to content

Commit a3e934e

Browse files
committed
---
yaml --- r: 224661 b: refs/heads/beta c: 614f640 h: refs/heads/master i: 224659: 5028d77 v: v3
1 parent c341b12 commit a3e934e

File tree

112 files changed

+1310
-502
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+1310
-502
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: d7b93216cdeb477e1af813f898096af867550338
26+
refs/heads/beta: 614f6408562a3402af2b58310408b707dce3726c
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 938f5d7af401e2d8238522fed4a612943b6e77fd
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/mk/docs.mk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ERR_IDX_GEN = $(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $(ERR_IDX_GEN_EXE)
7777

7878
D := $(S)src/doc
7979

80-
DOC_TARGETS := trpl tarpl style error-index
80+
DOC_TARGETS := trpl nomicon style error-index
8181
COMPILER_DOC_TARGETS :=
8282
DOC_L10N_TARGETS :=
8383

@@ -287,12 +287,12 @@ doc/book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/trpl/*.md) | doc/
287287
$(Q)rm -rf doc/book
288288
$(Q)$(RUSTBOOK) build $(S)src/doc/trpl doc/book
289289

290-
tarpl: doc/adv-book/index.html
290+
nomicon: doc/nomicon/index.html
291291

292-
doc/adv-book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/tarpl/*.md) | doc/
292+
doc/nomicon/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/nomicon/*.md) | doc/
293293
@$(call E, rustbook: $@)
294-
$(Q)rm -rf doc/adv-book
295-
$(Q)$(RUSTBOOK) build $(S)src/doc/tarpl doc/adv-book
294+
$(Q)rm -rf doc/nomicon
295+
$(Q)$(RUSTBOOK) build $(S)src/doc/nomicon doc/nomicon
296296

297297
style: doc/style/index.html
298298

branches/beta/mk/tests.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ $(foreach doc,$(DOCS), \
162162
$(eval $(call DOCTEST,md-$(doc),$(S)src/doc/$(doc).md)))
163163
$(foreach file,$(wildcard $(S)src/doc/trpl/*.md), \
164164
$(eval $(call DOCTEST,$(file:$(S)src/doc/trpl/%.md=trpl-%),$(file))))
165-
$(foreach file,$(wildcard $(S)src/doc/tarpl/*.md), \
166-
$(eval $(call DOCTEST,$(file:$(S)src/doc/tarpl/%.md=tarpl-%),$(file))))
165+
$(foreach file,$(wildcard $(S)src/doc/nomicon/*.md), \
166+
$(eval $(call DOCTEST,$(file:$(S)src/doc/nomicon/%.md=nomicon-%),$(file))))
167167
######################################################################
168168
# Main test targets
169169
######################################################################
Lines changed: 38 additions & 0 deletions

branches/beta/src/doc/reference.md

Lines changed: 2 additions & 2 deletions

branches/beta/src/doc/tarpl/README.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

branches/beta/src/doc/trpl/guessing-game.md

Lines changed: 2 additions & 2 deletions

branches/beta/src/doc/trpl/hello-cargo.md

Lines changed: 19 additions & 17 deletions

branches/beta/src/doc/trpl/lang-items.md

Lines changed: 1 addition & 0 deletions

branches/beta/src/doc/trpl/no-stdlib.md

Lines changed: 3 additions & 0 deletions

branches/beta/src/doc/trpl/patterns.md

Lines changed: 38 additions & 41 deletions

branches/beta/src/libcore/mem.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -322,20 +322,16 @@ pub unsafe fn dropped<T>() -> T {
322322
/// println!("{:?}", &data[0]);
323323
/// ```
324324
///
325-
/// Hopefully this example emphasizes to you exactly how delicate
326-
/// and dangerous doing this is. Note that the `vec!` macro
327-
/// *does* let you initialize every element with a value that
328-
/// is only `Clone`, so the following is equivalent and vastly
329-
/// less dangerous, as long as you can live with an extra heap
325+
/// This example emphasizes exactly how delicate and dangerous doing this is.
326+
/// Note that the `vec!` macro *does* let you initialize every element with a
327+
/// value that is only `Clone`, so the following is semantically equivalent and
328+
/// vastly less dangerous, as long as you can live with an extra heap
330329
/// allocation:
331330
///
332331
/// ```
333332
/// let data: Vec<Vec<u32>> = vec![Vec::new(); 1000];
334333
/// println!("{:?}", &data[0]);
335334
/// ```
336-
///
337-
/// For large arrays this is probably advisable
338-
/// anyway to avoid blowing the stack.
339335
#[inline]
340336
#[stable(feature = "rust1", since = "1.0.0")]
341337
pub unsafe fn uninitialized<T>() -> T {

0 commit comments

Comments
 (0)