summaryrefslogtreecommitdiff
path: root/src/library/boxed.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-12-04 20:20:02 +0100
committerLaurenz <laurmaedje@gmail.com>2019-12-04 20:20:02 +0100
commitf72b1505bebf8d2fe1a60d386a3a3c3b67d4f903 (patch)
tree09fa7137a2bae5454e6f9cecc1936633c90965d4 /src/library/boxed.rs
parent9fb31defd037a90bf8f9e38fa33acae23a70b269 (diff)
Unify error types ♾
Diffstat (limited to 'src/library/boxed.rs')
-rw-r--r--src/library/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/boxed.rs b/src/library/boxed.rs
index d4e39450..a2df45e3 100644
--- a/src/library/boxed.rs
+++ b/src/library/boxed.rs
@@ -17,7 +17,7 @@ function! {
"height" | "h" => AxisKey::Vertical,
"primary-size" => AxisKey::Primary,
"secondary-size" => AxisKey::Secondary,
- _ => pr!("unexpected argument"),
+ _ => error!(unexpected_argument),
};
let size = ArgParser::convert::<ArgSize>(arg.val.1.val)?;