Docs.rs
dan-fritchman-rust-lang-book-crates-0.1.0
dan-fritchman-rust-lang-book-crates 0.1.0
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
dan-fritchman
Dependencies
Versions
38.46%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
dan_
fritchman_
rust_
lang_
book_
crates
0.1.0
add_one
Sections
Panics
Errors
Examples
In crate dan_
fritchman_
rust_
lang_
book_
crates
dan_fritchman_rust_lang_book_crates
Function
add_one
Copy item path
Source
pub fn add_one(x:
i32
) ->
i32
Expand description
Add one
§
Panics
None
§
Errors
None
§
Examples
assert_eq!
(
6
,crates::add_one(
5
))