diff options
Diffstat (limited to 'vendor/gix-config/src/file/section/body.rs')
-rw-r--r-- | vendor/gix-config/src/file/section/body.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/gix-config/src/file/section/body.rs b/vendor/gix-config/src/file/section/body.rs index ad196d133..694de18bd 100644 --- a/vendor/gix-config/src/file/section/body.rs +++ b/vendor/gix-config/src/file/section/body.rs @@ -152,6 +152,7 @@ impl<'event> Body<'event> { key_start.map(|key_start| { // value end needs to be offset by one so that the last value's index // is included in the range + #[allow(clippy::range_plus_one)] let value_range = value_range.start..value_range.end + 1; let key_range = key_start..value_range.end; (key_range, (value_range.start != key_start + 1).then_some(value_range)) |