diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-12-04 20:20:02 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-12-04 20:20:02 +0100 |
| commit | f72b1505bebf8d2fe1a60d386a3a3c3b67d4f903 (patch) | |
| tree | 09fa7137a2bae5454e6f9cecc1936633c90965d4 /src/library/align.rs | |
| parent | 9fb31defd037a90bf8f9e38fa33acae23a70b269 (diff) | |
Unify error types ♾
Diffstat (limited to 'src/library/align.rs')
| -rw-r--r-- | src/library/align.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/align.rs b/src/library/align.rs index 14e329e3..417d8f07 100644 --- a/src/library/align.rs +++ b/src/library/align.rs @@ -19,7 +19,7 @@ function! { "vertical" => Key::Axis(AxisKey::Vertical), "primary" => Key::Axis(AxisKey::Primary), "secondary" => Key::Axis(AxisKey::Secondary), - _ => pr!("unexpected argument"), + _ => error!(unexpected_argument), }; let value = AlignmentKey::parse(arg.val.1.val)?; |
