Docs.rs
verif-arithmetic-0.1.0
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
checked_sub
verif_
arithmetic
0.1.0
In verif_
arithmetic::
checked
verif_arithmetic
::
checked
Function
checked_
sub
Copy item path
Source
pub const fn checked_sub(a:
u32
, b:
u32
) ->
Option
<
u32
>
Expand description
a - b
, or
None
on underflow.