Skip to content

Commit 49f8e61

Browse files
committed
fix clippy warn
1 parent b6b907c commit 49f8e61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ impl JsonMutexDB {
7272
///
7373
/// This function will return an error if the specified file cannot be read,
7474
/// if the JSON data is invalid, or if there are issues with file I/O operations.
75+
#[allow(clippy::cast_precision_loss)]
7576
pub fn new(
7677
path: &str,
7778
pretty: bool,

0 commit comments

Comments
 (0)