Skip to content

Commit e915b07

Browse files
ranjitjhalanilehmann
authored andcommitted
lazy overflow checking
1 parent 05fcb76 commit e915b07

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

library/core/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ check-cfg = [
4747

4848
[package.metadata.flux]
4949
enabled = true
50+
check_overflow = "lazy"
5051
include = [ "src/ascii*.rs",
51-
"src/pat.rs",
52+
"src/pat.rs",
5253
"src/bstr/*.rs",
5354
"src/hash/*.rs",
5455
"src/time.rs",

library/core/src/flux_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@
5454
fn fmt(self: &Self, f: &mut fmt::Formatter) -> fmt::Result;
5555
}
5656
}]
57-
const _: () = {};
57+
const _: () = ();

0 commit comments

Comments
 (0)