Skip to content

Commit

Permalink
Swap
Browse files Browse the repository at this point in the history
  • Loading branch information
azdavis committed Aug 16, 2023
1 parent 368c881 commit fa77943
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/config/src/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ pub struct Exp {
#[allow(missing_docs, clippy::struct_excessive_bools)]
#[serde(rename_all = "kebab-case")]
pub struct SuccessorMl {
#[serde(default)]
pub or_pat: Tool,
#[serde(default)]
pub do_dec: bool,
#[serde(default)]
pub opt_bar: bool,
#[serde(default)]
pub opt_semi: bool,
#[serde(default)]
pub or_pat: Tool,
#[serde(default)]
pub exp_row_pun: bool,
#[serde(default)]
pub vector: bool,
Expand Down
2 changes: 1 addition & 1 deletion docs/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ Whether the `<kind>` is allowed.

| Valid `<kind>` | Default | Description |
| -------------- | ------- | ------------------------------------------ |
| `or-pat` | `true` | Or patterns |
| `do-dec` | `false` | `do` declarations |
| `opt-bar` | `false` | Optional preceding vertical bars |
| `opt-semi` | `false` | Optional trailing `;` in `let` expressions |
| `or-pat` | `true` | Or patterns |
| `exp-row-pun` | `false` | Record expression row punning |
| `vector` | `false` | Vector expressions and patterns |

Expand Down

0 comments on commit fa77943

Please sign in to comment.