Docs.rs
bsll_crate-0.1.0
bsll_crate 0.1.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Documentation
crates.io
Source
Owners
bsll0828
Dependencies
Versions
Platform
i686-apple-darwin
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
☰
bsll_crate
[
−
]
[src]
Function
bsll_crate
::
add_one
pub fn add_one(x:
i32
) ->
i32
将给定的数字加一
Example
let
five
=
5
;
assert_eq
!
(
6
,
my_crate
::
add_one
(
5
));