Skip to content

Commit 9ebf59c

Browse files
authored
Merge pull request #1 from rust-lang/master
Fork von rust-lang/book auf neuesten Stand aktualisieren
2 parents 24b42c0 + 506ce62 commit 9ebf59c

File tree

346 files changed

+3937
-33135
lines changed

Some content is hidden

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

346 files changed

+3937
-33135
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dist: trusty
33
language: rust
44
cache: cargo
55
rust:
6-
- stable
6+
- 1.31.1
77
branches:
88
only:
99
- master

2018-edition/convert-quotes.sh

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
#!/bin/bash
2-
# Copyright 2017 The Rust Project Developers. See the COPYRIGHT
3-
# file at the top-level directory of this distribution and at
4-
# http://rust-lang.org/COPYRIGHT.
5-
#
6-
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7-
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
8-
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9-
# option. This file may not be copied, modified, or distributed
10-
# except according to those terms.
112

123
set -eu
134

2018-edition/nostarch.sh

+5-14
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
#!/bin/bash
2-
# Copyright 2016 The Rust Project Developers. See the COPYRIGHT
3-
# file at the top-level directory of this distribution and at
4-
# http://rust-lang.org/COPYRIGHT.
5-
#
6-
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7-
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
8-
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9-
# option. This file may not be copied, modified, or distributed
10-
# except according to those terms.
112

123
set -eu
134

@@ -16,18 +7,18 @@ cargo build --release
167
mkdir -p tmp
178
rm -rf tmp/*.md
189

19-
# Get all the markdown files in the src dir,
10+
# Get all the Markdown files in the src dir,
2011
ls src/${1:-""}*.md | \
21-
# except for SUMMARY.md.
12+
# except for `SUMMARY.md`.
2213
grep -v SUMMARY.md | \
2314
# Extract just the filename so we can reuse it easily.
2415
xargs -n 1 basename | \
25-
# Remove all links followed by <!-- ignore -->, then
26-
# Change all remaining links from markdown to italicized inline text.
16+
# Remove all links followed by `<!-- ignore -->``, then
17+
# Change all remaining links from Markdown to italicized inline text.
2718
while IFS= read -r filename; do
2819
< "src/$filename" ./target/release/remove_links \
2920
| ./target/release/link2print \
3021
| ./target/release/remove_markup > "tmp/$filename"
3122
done
32-
# Concat the files into the nostarch dir.
23+
# Concatenate the files into the `nostarch` dir.
3324
./target/release/concat_chapters tmp nostarch

2018-edition/nostarch/appendices-d-and-e.md

-245
This file was deleted.

0 commit comments

Comments
 (0)