diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-09-02 09:41:08 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-09-02 09:41:08 +1200 |
| commit | fae93abbdaa9d2bcf7a3c2cff0c5c7beadc62cc7 (patch) | |
| tree | d8d9ff511c50fddd1ca35d23faca0abc722913b5 /src/lib.rs | |
| parent | f81485d9d6a93baf86affbcc60d0ea84bedc3556 (diff) | |
Support struct-like layouts for fn args
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs index f410f7e5468..83c0c5ae1b7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -133,13 +133,13 @@ impl_enum_decodable!(ReturnIndent, WithArgs, WithWhereClause); pub enum StructLitStyle { // First line on the same line as the opening brace, all lines aligned with // the first line. - VisualIndent, + Visual, // First line is on a new line and all lines align with block indent. - BlockIndent, + Block, // FIXME Maybe we should also have an option to align types. } -impl_enum_decodable!(StructLitStyle, VisualIndent, BlockIndent); +impl_enum_decodable!(StructLitStyle, Visual, Block); enum ErrorKind { // Line has exceeded character limit |
