summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index a279e24..97acaa3 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -17,9 +17,9 @@ impl Config {
|| choice.kind == ChoiceKind::RustExclusiveRange
{
if choice.is_reverse_range() {
- choice.start = choice.start - 1;
+ choice.start -= 1;
} else {
- choice.end = choice.end - 1;
+ choice.end -= 1;
}
}