Skip to content

Commit

Permalink
allow casting in storage
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Jul 9, 2024
1 parent 9d03ddf commit 4f233b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ impl<const C: usize, const D: usize, const I: usize, const H: usize> ModbusStora
}
}

#[allow(clippy::cast_possible_truncation, clippy::cast_lossless)]
impl<const C: usize, const D: usize, const I: usize, const H: usize> ModbusContext
for ModbusStorage<C, D, I, H>
{
Expand Down

0 comments on commit 4f233b5

Please sign in to comment.