Skip to content

Commit 20cce3c

Browse files
committed
Merge branch 'master' into difflines_mode
2 parents 81e9814 + fa794f5 commit 20cce3c

File tree

232 files changed

+3062
-2465
lines changed

Some content is hidden

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

232 files changed

+3062
-2465
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@
1717

1818
# Used by macOS' file system to track custom attributes of containing folder
1919
.DS_Store
20+
21+
# Editors' specific files
22+
.idea/
23+
.vscode/

CHANGELOG.md

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
11
# Changelog
22

3+
## [0.2.15] 2017-11-08
4+
5+
### Added
6+
7+
- Add git-fmt tool
8+
- `where_single_line` configuration option.
9+
10+
### Changed
11+
12+
- Rename `chain_one_line_max` to `chain_width`.
13+
- Change the suffix of indent-related configuration options to `_indent`.
14+
15+
## [0.2.14] 2017-11-06
16+
17+
### Fixed
18+
19+
- Rustup to the latest nightly.
20+
21+
## [0.2.13] 2017-10-30
22+
23+
### Fixed
24+
25+
- Rustup to the latest nightly.
26+
27+
## [0.2.12] 2017-10-29
28+
29+
### Fixed
30+
31+
- Fix a bug that `cargo fmt` hangs forever.
32+
33+
## [0.2.11] 2017-10-29
34+
35+
### Fixed
36+
37+
- Fix a bug that `cargo fmt` crashes.
38+
39+
## [0.2.10] 2017-10-28
40+
41+
## [0.2.9] 2017-10-16
42+
43+
## [0.2.8] 2017-09-28
44+
45+
## [0.2.7] 2017-09-21
46+
47+
### Added
48+
49+
- `binop_separator` configuration option (#1964).
50+
51+
### Changed
52+
53+
- Use horizontal layout for function call with a single argument.
54+
55+
### Fixed
56+
57+
- Fix panicking when calling `cargo fmt --all` (#1963).
58+
- Refactorings & faster rustfmt.
59+
60+
## [0.2.6] 2017-09-14
61+
62+
### Fixed
63+
64+
- Fix a performance issue with nested block (#1940).
65+
- Refactorings & faster rustfmt.
66+
367
## [0.2.5] 2017-08-31
468

569
### Added
@@ -10,13 +74,13 @@
1074

1175
- Use getters to access `Span` fields (#1899).
1276

13-
## [0.2.4] 2018-08-30
77+
## [0.2.4] 2017-08-30
1478

1579
### Added
1680

1781
- Add support for `Yield` (#1928).
1882

19-
## [0.2.3] 2018-08-30
83+
## [0.2.3] 2017-08-30
2084

2185
### Added
2286

Cargo.lock

Lines changed: 27 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "rustfmt-nightly"
4-
version = "0.2.13"
4+
version = "0.2.15"
55
authors = ["Nicholas Cameron <[email protected]>", "The Rustfmt developers"]
66
description = "Tool to find and fix Rust formatting issues"
77
repository = "https://github.com/rust-lang-nursery/rustfmt"
@@ -22,6 +22,9 @@ name = "cargo-fmt"
2222
[[bin]]
2323
name = "rustfmt-format-diff"
2424

25+
[[bin]]
26+
name = "git-fmt"
27+
2528
[features]
2629
default = ["cargo-fmt", "rustfmt-format-diff"]
2730
cargo-fmt = []
@@ -40,6 +43,7 @@ diff = "0.1"
4043
log = "0.3"
4144
env_logger = "0.4"
4245
getopts = "0.2"
46+
derive-new = "0.5"
4347

4448
[target.'cfg(unix)'.dependencies]
4549
libc = "0.2.11"

0 commit comments

Comments
 (0)