add-one
Returns n + 1.
Usage
Add this to your Cargo.toml
:
[]
= "0.2"
and this to your crate root:
extern crate add_one;
Example
extern crate add_one;
use add_one;
use str;
or
License
Licensed under
- MIT license (LICENSE.md or http://opensource.org/licenses/MIT)
Compatibility
The add-one
crate is tested for rustc 1.26 and greater.