]> git.lizzy.rs Git - rust.git/log
rust.git
6 years agoAdd license_template_path configuration snippet
David Lukes [Mon, 26 Feb 2018 16:01:40 +0000 (17:01 +0100)]
Add license_template_path configuration snippet

6 years agoShorten var names to comply with line len reqs
David Lukes [Mon, 26 Feb 2018 14:57:31 +0000 (15:57 +0100)]
Shorten var names to comply with line len reqs

6 years agoFix indentation in create_config macro definition
David Lukes [Mon, 26 Feb 2018 14:50:33 +0000 (15:50 +0100)]
Fix indentation in create_config macro definition

6 years agoRefactor parsing code into struct
David Lukes [Mon, 26 Feb 2018 14:41:38 +0000 (15:41 +0100)]
Refactor parsing code into struct

This also splits the giant state machine match expression into separate
methods.

6 years agoMove license template parsing into submodule
David Lukes [Mon, 26 Feb 2018 11:49:12 +0000 (12:49 +0100)]
Move license template parsing into submodule

6 years agoAccount for possibly empty license_template_path
David Lukes [Mon, 26 Feb 2018 11:31:09 +0000 (12:31 +0100)]
Account for possibly empty license_template_path

Don't attempt to load license_template if the path wasn't specified.

6 years agoSimplify match → if let
David Lukes [Mon, 26 Feb 2018 11:23:15 +0000 (12:23 +0100)]
Simplify match → if let

6 years agoMove license template parsing into config phase
David Lukes [Mon, 19 Feb 2018 16:26:29 +0000 (17:26 +0100)]
Move license template parsing into config phase

6 years agoParse template with state machine instead of regex
David Lukes [Mon, 19 Feb 2018 10:00:07 +0000 (11:00 +0100)]
Parse template with state machine instead of regex

This allows occurrences of `{` and `}` within `{}` placeholders in the
template, and also for having literal `{` and `}` in the template by
means of escaping (`\{`).

Unbalanced, unescaped `}` at the toplevel is a syntax error which
currently triggers a panic; I'll add proper error handling as I move the
license template parsing code into the config parsing phase.

6 years agoAttempt at checking for license (#209)
David Lukes [Fri, 16 Feb 2018 22:21:57 +0000 (23:21 +0100)]
Attempt at checking for license (#209)

I'm not quite sure how best to handle loading the license template from
a path -- I mean obviously I know *how* to do it, but I'm not sure where
to fit it in the codebase :) So this first attempt puts the license
template directly into the config file.

These are my misgivings about the license template config option as a
path to a file (I'd love feedback if some of these are wrong or can be
easily circumvented!):

1. I thought the obvious choice for the type of `license_template` in
`create_config!` should be `PathBuf`, but `PathBuf` doesn't implement
`FromStr` (yet? see https://github.com/rust-lang/rust/issues/44431), so
it would have to be wrapped in a tuple struct, and I went down that road
for a little while but then it seemed like too much ceremony for too
little gain.

2. So a plain `String` then (which, mind you, also means the same
`doc_hint()`, i.e. `<string>`, not `<path>` or something like that). The
fact that it's a valid path will be checked once we try to read the
file.

3. But where in the code should the license template be read? The
obvious choice for me would be somewhere in `Config::from_toml()`, but
since `Config` is defined via the `create_config!` macro, that would
mean tight coupling between the macro invocation (which defines the
configuration option `license_template`) and its definition (which would
rely on the existence of that option to run the template loading code).

4. `license_template` could also be made a special option which is
hardwired into the macro. This gets rid of the tight coupling, but
special-casing one of the config options would make the code harder to
navigate.

5. Instead, the macro could maybe be rewritten to allow for config
options that load additional resources from files when the config is
being parsed, but that's beyond my skill level I'm afraid (and probably
overengineering the problem if it's only ever going to be used for this
one option).

6. Finally, the file can be loaded at some later point in time, e.g. in
`format_lines()`, right before `check_license()` is called. But to
face a potential *IO* error at so late a stage, when the source files
have already been parsed... I don't know, it doesn't feel right.

BTW I don't like that I'm actually parsing the license template as late
as inside `check_license()` either, but for much the same reasons, I
don't know where else to put it. If the `Config` were hand-rolled
instead of a macro, I'd just define a custom `license_template` option
and load and parse the template in the `Config`'s init. But the way
things are, I'm a bit at a loss.

However, if someone more familiar with the project would kindly provide
a few hints as to how the path approach can be done in a way that is as
clean as possible in the context of the codebase, I'll be more than
happy to implement it! :)

6 years agoMerge pull request #2502 from topecongiro/fix-reorder-module
Nick Cameron [Sun, 4 Mar 2018 22:20:48 +0000 (11:20 +1300)]
Merge pull request #2502 from topecongiro/fix-reorder-module

Fix reorder module

6 years agoMerge pull request #2503 from Eijebong/winapi
Nick Cameron [Fri, 2 Mar 2018 22:39:24 +0000 (11:39 +1300)]
Merge pull request #2503 from Eijebong/winapi

Bump winapi to 0.3

6 years agoMerge pull request #2504 from davidalber/fix-travis-python-setup
Nick Cameron [Fri, 2 Mar 2018 22:38:50 +0000 (11:38 +1300)]
Merge pull request #2504 from davidalber/fix-travis-python-setup

Fixing macOS Travis setup

6 years agoMerge pull request #2499 from davidalber/add-rust-code-of-conduct
Nick Cameron [Fri, 2 Mar 2018 22:37:56 +0000 (11:37 +1300)]
Merge pull request #2499 from davidalber/add-rust-code-of-conduct

Adding the Rust Code of Conduct

6 years agoFixing Travis config for Python 3 installation
David Alber [Fri, 2 Mar 2018 16:55:17 +0000 (08:55 -0800)]
Fixing Travis config for Python 3 installation

6 years agoBump winapi to 0.3
Bastien Orivel [Fri, 2 Mar 2018 14:20:26 +0000 (15:20 +0100)]
Bump winapi to 0.3

6 years agoMerge pull request #2501 from Eijebong/log
Seiichi Uchida [Fri, 2 Mar 2018 13:24:19 +0000 (22:24 +0900)]
Merge pull request #2501 from Eijebong/log

Bump log to 0.4 and env_logger to 0.5

6 years agoDo not reorder inline modules
Seiichi Uchida [Fri, 2 Mar 2018 12:53:24 +0000 (21:53 +0900)]
Do not reorder inline modules

6 years agoAdd a test for #2482
Seiichi Uchida [Fri, 2 Mar 2018 12:53:13 +0000 (21:53 +0900)]
Add a test for #2482

6 years agoBump log to 0.4 and env_logger to 0.5
Bastien Orivel [Fri, 2 Mar 2018 12:08:23 +0000 (13:08 +0100)]
Bump log to 0.4 and env_logger to 0.5

6 years agoAdding links to the Code of Conduct
David Alber [Fri, 2 Mar 2018 05:58:07 +0000 (21:58 -0800)]
Adding links to the Code of Conduct

6 years agoTidy up and pass tests
Nick Cameron [Fri, 2 Mar 2018 02:07:13 +0000 (15:07 +1300)]
Tidy up and pass tests

6 years agoGo back to a non-workspace structure
Nick Cameron [Fri, 2 Mar 2018 01:28:34 +0000 (14:28 +1300)]
Go back to a non-workspace structure

Kinda reverts https://github.com/rust-lang-nursery/rustfmt/pull/2419

6 years agoFix build
Nick Cameron [Fri, 2 Mar 2018 01:25:26 +0000 (14:25 +1300)]
Fix build

6 years agoRevert "Remove rustfmt and cargo-fmt"
Nick Cameron [Fri, 2 Mar 2018 01:12:33 +0000 (14:12 +1300)]
Revert "Remove rustfmt and cargo-fmt"

This reverts commit 9d2229f2fdf59b1cc80aea8851e14db81c55c82f.

And `cargo updates`

6 years agoRevert "Remove cargo-fmt and rustfmt-bin from self_tests()"
Nick Cameron [Fri, 2 Mar 2018 01:11:28 +0000 (14:11 +1300)]
Revert "Remove cargo-fmt and rustfmt-bin from self_tests()"

This reverts commit 93c349a6c1c8c5c9fda7c91b89edaf647a875ffc.

6 years agoAdding the Rust Code of Conduct
David Alber [Thu, 1 Mar 2018 20:37:19 +0000 (12:37 -0800)]
Adding the Rust Code of Conduct

6 years agoMerge pull request #2498 from alexcrichton/update-env-logger
Nick Cameron [Thu, 1 Mar 2018 19:24:32 +0000 (08:24 +1300)]
Merge pull request #2498 from alexcrichton/update-env-logger

Update env_logger to 0.5

6 years agoUpdate env_logger to 0.5
Alex Crichton [Thu, 1 Mar 2018 18:31:57 +0000 (10:31 -0800)]
Update env_logger to 0.5

Helps unify with some dependencies in rust-lang/rust!

6 years agoMerge pull request #2492 from dlukes/feat/fix-tests
Nick Cameron [Tue, 27 Feb 2018 08:37:56 +0000 (21:37 +1300)]
Merge pull request #2492 from dlukes/feat/fix-tests

Remove cargo-fmt and rustfmt-bin from self_tests()

6 years agoRemove cargo-fmt and rustfmt-bin from self_tests()
David Lukes [Mon, 26 Feb 2018 15:22:21 +0000 (16:22 +0100)]
Remove cargo-fmt and rustfmt-bin from self_tests()

6 years agoRemove rustfmt and cargo-fmt
Nick Cameron [Mon, 26 Feb 2018 03:39:36 +0000 (16:39 +1300)]
Remove rustfmt and cargo-fmt

Moved them to the rustfmt-bin repo

6 years agoAdd README for rustfmt-core and use rustfmt-config from crates.io
Nick Cameron [Mon, 26 Feb 2018 03:28:04 +0000 (16:28 +1300)]
Add README for rustfmt-core and use rustfmt-config from crates.io

6 years agoAdd a readme for rustfmt-config
Nick Cameron [Mon, 26 Feb 2018 03:25:19 +0000 (16:25 +1300)]
Add a readme for rustfmt-config

6 years agoMerge pull request #2489 from topecongiro/issue-2487
Nick Cameron [Sat, 24 Feb 2018 23:52:27 +0000 (12:52 +1300)]
Merge pull request #2489 from topecongiro/issue-2487

Preserve trailing comma on macro in item position

6 years agoMerge pull request #2486 from topecongiro/lazy_statics
Nick Cameron [Sat, 24 Feb 2018 23:48:57 +0000 (12:48 +1300)]
Merge pull request #2486 from topecongiro/lazy_statics

Format `lazy_static!`

6 years agoMerge pull request #2485 from topecongiro/attr
Nick Cameron [Sat, 24 Feb 2018 23:47:32 +0000 (12:47 +1300)]
Merge pull request #2485 from topecongiro/attr

Add `attr` modules and allow `#[name = value]` to exceed max width

6 years agoMerge pull request #2483 from topecongiro/error-on-unknown-config-name-in-configurations
Nick Cameron [Sat, 24 Feb 2018 23:46:07 +0000 (12:46 +1300)]
Merge pull request #2483 from topecongiro/error-on-unknown-config-name-in-configurations

Error on outdated Configurations.md

6 years agoPreserve trailing comma on macro in item position
topecongiro [Sat, 24 Feb 2018 02:48:18 +0000 (11:48 +0900)]
Preserve trailing comma on macro in item position

6 years agoAdd a test for #2487
topecongiro [Sat, 24 Feb 2018 02:48:07 +0000 (11:48 +0900)]
Add a test for #2487

6 years agoCargo fmt
topecongiro [Fri, 23 Feb 2018 16:18:53 +0000 (01:18 +0900)]
Cargo fmt

6 years agoFormat lazy_static! macro
topecongiro [Fri, 23 Feb 2018 16:05:19 +0000 (01:05 +0900)]
Format lazy_static! macro

Some macros like `lazy_static!` cannot be parsed as a valid AST. Therefore, we
need to parse them manually to be able to format them. Obviously this method
will not scale, we will never be able to cover every macro in the entire
ecosystem. That being said, I think it will not hurt to be able to format macros
that are popular (such as `lazy_static!`) as long as rustfmt will not produce
broken code when the macro has syntax that is not expected.

6 years agoUpdate a test for lazy_static!
topecongiro [Fri, 23 Feb 2018 16:04:54 +0000 (01:04 +0900)]
Update a test for lazy_static!

6 years agoAdd a test for formatting lazy_static!
topecongiro [Fri, 23 Feb 2018 16:04:36 +0000 (01:04 +0900)]
Add a test for formatting lazy_static!

6 years agoAdd a test for #2479
topecongiro [Fri, 23 Feb 2018 14:18:54 +0000 (23:18 +0900)]
Add a test for #2479

6 years agoAllow meta item's value to exceed max width
topecongiro [Fri, 23 Feb 2018 14:15:29 +0000 (23:15 +0900)]
Allow meta item's value to exceed max width

6 years agoAdd doc comment to rewrite_first_group_attrs
topecongiro [Fri, 23 Feb 2018 13:58:46 +0000 (22:58 +0900)]
Add doc comment to rewrite_first_group_attrs

6 years agoAdd a test for #2414
topecongiro [Fri, 23 Feb 2018 13:52:56 +0000 (22:52 +0900)]
Add a test for #2414

Closes #2414.

6 years agoMove type punctuation tests under config dir
topecongiro [Fri, 23 Feb 2018 07:15:48 +0000 (16:15 +0900)]
Move type punctuation tests under config dir

6 years agoRemove unused tests
topecongiro [Fri, 23 Feb 2018 07:10:47 +0000 (16:10 +0900)]
Remove unused tests

6 years agoRemove unused tests
topecongiro [Fri, 23 Feb 2018 07:09:52 +0000 (16:09 +0900)]
Remove unused tests

6 years agoMention that doc.rs is a part of multiple.rs
topecongiro [Fri, 23 Feb 2018 07:09:35 +0000 (16:09 +0900)]
Mention that doc.rs is a part of multiple.rs

6 years agoUse visual indent style in where-clause.rs
topecongiro [Fri, 23 Feb 2018 07:09:20 +0000 (16:09 +0900)]
Use visual indent style in where-clause.rs

6 years agoUpdate big-impl tests
topecongiro [Fri, 23 Feb 2018 06:31:08 +0000 (15:31 +0900)]
Update big-impl tests

big-impl.rs and big-impl-rfc.rs is identical. One of them should use visual
indent style, and their file name should reflect that.

6 years agoMove items-related stuffs to item mod from visitor mod
topecongiro [Fri, 23 Feb 2018 13:37:10 +0000 (22:37 +0900)]
Move items-related stuffs to item mod from visitor mod

Move `rewrite_extern_crate`, is_mod_decl`, `is_use_item` and `is_extern_crate`.

6 years agoMove filter_inline_attrs() to attr mod from visitor mod
topecongiro [Fri, 23 Feb 2018 13:32:39 +0000 (22:32 +0900)]
Move filter_inline_attrs() to attr mod from visitor mod

6 years agoAdd attr module
topecongiro [Fri, 23 Feb 2018 13:30:05 +0000 (22:30 +0900)]
Add attr module

6 years agoUpdate Configurations.md
topecongiro [Fri, 23 Feb 2018 12:55:16 +0000 (21:55 +0900)]
Update Configurations.md

6 years agoUpdate configuration tests
topecongiro [Fri, 23 Feb 2018 12:54:59 +0000 (21:54 +0900)]
Update configuration tests

This commit adds following functionalities to `configuration_snippet_tests`:

1. Error if there is an unknown configuration option in Configuration.md.
2. Error if there are multiple guides for the same configuration option in
   Configuration.md.
3. Error if an user-facing configuration option does not have its guide in
   Configuration.md.

We will be able to catch outdated Configuration.md. Should prevent issues
like #2459.

6 years agoMerge pull request #2480 from topecongiro/issue-2476
Nick Cameron [Fri, 23 Feb 2018 00:39:56 +0000 (13:39 +1300)]
Merge pull request #2480 from topecongiro/issue-2476

Avoid drifting macro body which is unformattable

6 years agoCargo clippy
topecongiro [Fri, 23 Feb 2018 00:07:35 +0000 (09:07 +0900)]
Cargo clippy

6 years agoCargo fmt and update a test
topecongiro [Thu, 22 Feb 2018 23:14:22 +0000 (08:14 +0900)]
Cargo fmt and update a test

6 years agoCall wrap_str to make sure that the formatting macro body worked
topecongiro [Thu, 22 Feb 2018 23:13:57 +0000 (08:13 +0900)]
Call wrap_str to make sure that the formatting macro body worked

6 years agoUse multiple lines for function calls with 0 arg which exceeds max width
topecongiro [Thu, 22 Feb 2018 23:12:48 +0000 (08:12 +0900)]
Use multiple lines for function calls with 0 arg which exceeds max width

e.g.

foo(
)

6 years agoContinue formatting function calls even if it does not fit in a single line
topecongiro [Thu, 22 Feb 2018 23:11:10 +0000 (08:11 +0900)]
Continue formatting function calls even if it does not fit in a single line

We may be able to format it using multiple lines.

6 years agoUpdate tests for #2438 and #2476
topecongiro [Thu, 22 Feb 2018 23:10:17 +0000 (08:10 +0900)]
Update tests for #2438 and #2476

6 years agoRemove macros.rs
topecongiro [Thu, 22 Feb 2018 23:08:12 +0000 (08:08 +0900)]
Remove macros.rs

6 years agoMerge pull request #2478 from csmoe/explict-version-info
Nick Cameron [Wed, 21 Feb 2018 07:41:20 +0000 (20:41 +1300)]
Merge pull request #2478 from csmoe/explict-version-info

Explict version info

6 years agoMerge branch 'explict-version-info' of https://github.com/csmoe/rustfmt into explict...
csmoe [Wed, 21 Feb 2018 05:15:04 +0000 (13:15 +0800)]
Merge branch 'explict-version-info' of https://github.com/csmoe/rustfmt into explict-version-info

6 years agooption_env and commit_info
csmoe [Wed, 21 Feb 2018 05:13:39 +0000 (13:13 +0800)]
option_env and commit_info

6 years agooption_env
csmoe [Wed, 21 Feb 2018 03:42:29 +0000 (11:42 +0800)]
option_env

6 years agoMerge pull request #2477 from davidalber/unignore-configuration-snippet-tests
Nick Cameron [Wed, 21 Feb 2018 03:29:45 +0000 (16:29 +1300)]
Merge pull request #2477 from davidalber/unignore-configuration-snippet-tests

Removing ignore attribute

6 years agoRemoving ignore attribute
David Alber [Wed, 21 Feb 2018 02:47:38 +0000 (18:47 -0800)]
Removing ignore attribute

6 years agoMerge pull request #2471 from topecongiro/issue-2470
Nick Cameron [Tue, 20 Feb 2018 22:53:23 +0000 (11:53 +1300)]
Merge pull request #2471 from topecongiro/issue-2470

Return the original snippet if the attribute contains invalid syntax

6 years agoMerge pull request #2472 from davidalber/fix-reorder-extern-crates-in-group-examples
Nick Cameron [Tue, 20 Feb 2018 22:52:46 +0000 (11:52 +1300)]
Merge pull request #2472 from davidalber/fix-reorder-extern-crates-in-group-examples

Update `reorder_extern_crates*` Configuration.md snippets

6 years agoModifying `reorder_extern_crates` example to show effect on groups
David Alber [Tue, 20 Feb 2018 06:20:37 +0000 (22:20 -0800)]
Modifying `reorder_extern_crates` example to show effect on groups

6 years agoFixing the documentation for `reorder_extern_crates_in_group`
David Alber [Mon, 19 Feb 2018 07:33:45 +0000 (23:33 -0800)]
Fixing the documentation for `reorder_extern_crates_in_group`

6 years agoMerge pull request #2469 from davidalber/fix-struct-lit-single-line-config-snippet
Seiichi Uchida [Tue, 20 Feb 2018 05:53:28 +0000 (14:53 +0900)]
Merge pull request #2469 from davidalber/fix-struct-lit-single-line-config-snippet

Using shorter example for `struct_lit_single_line` option

6 years agoReturn the original snippet if the attribute contains invalid syntax
topecongiro [Tue, 20 Feb 2018 05:48:46 +0000 (14:48 +0900)]
Return the original snippet if the attribute contains invalid syntax

This allows us to keep formatting the macro def with attributes that become
invalid syntax when the `$` is replaced with `z`, e.g. `#[doc = $expr]`.

6 years agoexplict version informations
csmoe [Mon, 19 Feb 2018 09:17:27 +0000 (17:17 +0800)]
explict version informations

6 years agoUsing shorter example for `struct_lit_single_line` option
David Alber [Mon, 19 Feb 2018 07:17:36 +0000 (23:17 -0800)]
Using shorter example for `struct_lit_single_line` option

6 years agoMerge pull request #2468 from topecongiro/perf
Nick Cameron [Mon, 19 Feb 2018 05:42:47 +0000 (18:42 +1300)]
Merge pull request #2468 from topecongiro/perf

Apply optimization suggested by perf

6 years agoMerge pull request #2467 from topecongiro/issue-2466
Nick Cameron [Mon, 19 Feb 2018 05:37:59 +0000 (18:37 +1300)]
Merge pull request #2467 from topecongiro/issue-2466

Skip formatting macro_rules! that are not using {}

6 years agoSkip formatting macro_rules! that are not using {}
topecongiro [Mon, 19 Feb 2018 05:08:33 +0000 (14:08 +0900)]
Skip formatting macro_rules! that are not using {}

6 years agoUse push-approach over format! in rewrite_segment
topecongiro [Mon, 19 Feb 2018 03:50:50 +0000 (12:50 +0900)]
Use push-approach over format! in rewrite_segment

6 years agoClean up
topecongiro [Mon, 19 Feb 2018 03:50:39 +0000 (12:50 +0900)]
Clean up

6 years agoUse Indent::to_string_with_newline to avoid unnecessary allocation
topecongiro [Mon, 19 Feb 2018 03:47:54 +0000 (12:47 +0900)]
Use Indent::to_string_with_newline to avoid unnecessary allocation

6 years agoUse SnippetProvider to implement SpanUtils over CodeMap
topecongiro [Mon, 19 Feb 2018 03:41:43 +0000 (12:41 +0900)]
Use SnippetProvider to implement SpanUtils over CodeMap

`SnippetProvider::span_to_snippet` avoids allocating a `String` so it is more
efficient than `CodeMap::span_to_snippet`.

6 years agoAvoid running lookup_line_range when file_lines are not specified
topecongiro [Mon, 19 Feb 2018 03:36:36 +0000 (12:36 +0900)]
Avoid running lookup_line_range when file_lines are not specified

6 years agoAvoid allocating small strings in combine_strs_with_missing_comments
topecongiro [Sun, 18 Feb 2018 09:22:06 +0000 (18:22 +0900)]
Avoid allocating small strings in combine_strs_with_missing_comments

6 years agoAvoid using pretty printer if possible
topecongiro [Sun, 18 Feb 2018 09:18:07 +0000 (18:18 +0900)]
Avoid using pretty printer if possible

Setting a pretty printer adds noticeable overhead.

We can replace the usage in `ast:Lifetime::rewrite` by simply converting `Ident`
to string.
We can do the same thing for a macro path as long as it is not nested, which
should hold for most cases.

6 years agoDo not inspect code for issues or todos when not required
topecongiro [Sun, 18 Feb 2018 09:13:46 +0000 (18:13 +0900)]
Do not inspect code for issues or todos when not required

6 years agoUse debug_assert_eq! to avoid comparing PathBuf on release
topecongiro [Sun, 18 Feb 2018 09:11:38 +0000 (18:11 +0900)]
Use debug_assert_eq! to avoid comparing PathBuf on release

Comparing `PathBuf` adds noticeable overhead, avoid it in release build.

6 years agoReplace lookup_char_pos with lookup_line
topecongiro [Sun, 18 Feb 2018 09:08:21 +0000 (18:08 +0900)]
Replace lookup_char_pos with lookup_line

`lookup_char_pos` wastes time on fetching unused information. We only need a
`FileMap` and line numbers, so `lookup_line` is enough.

6 years agoMerge pull request #2465 from karyon/fix_2346
Nick Cameron [Sun, 18 Feb 2018 22:45:49 +0000 (11:45 +1300)]
Merge pull request #2465 from karyon/fix_2346

Fix #2346: empty comments should not have any trailing space added

6 years agoMerge pull request #2461 from topecongiro/reorder-mod
Nick Cameron [Sun, 18 Feb 2018 20:13:52 +0000 (09:13 +1300)]
Merge pull request #2461 from topecongiro/reorder-mod

Refactoring: add `reorder` modules

6 years agoMerge pull request #2464 from topecongiro/beginning-vert
Nick Cameron [Sun, 18 Feb 2018 19:45:21 +0000 (08:45 +1300)]
Merge pull request #2464 from topecongiro/beginning-vert

Format a match arm with the beginning vertical bar

6 years agoFix #2346: empty comments should not have any trailing space added
Johannes Linke [Sun, 18 Feb 2018 11:47:42 +0000 (12:47 +0100)]
Fix #2346: empty comments should not have any trailing space added

6 years agoFormat a match arm with the beginning vertical bar
topecongiro [Sun, 18 Feb 2018 01:31:11 +0000 (10:31 +0900)]
Format a match arm with the beginning vertical bar

6 years agoMerge pull request #2463 from Razican/typo_fix
Seiichi Uchida [Sun, 18 Feb 2018 00:35:30 +0000 (09:35 +0900)]
Merge pull request #2463 from Razican/typo_fix

Fixed small typo in configuration help