Docs.rs
hello-foo-rs-0.1.0
hello-foo-rs 0.1.0
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
xdavidliu
Dependencies
Versions
50%
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
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
plus
hello_
foo_
rs
0.1.0
plus
Sections
Example
In crate hello_
foo_
rs
hello_foo_rs
Function
plus
Copy item path
Source
pub fn plus(x:
i32
, y:
i32
) ->
i32
Expand description
Adds two integers.
ยง
Example
assert_eq!
(foo::plus(
2
,
3
),
5
);