Docs.rs
hello-foo-rs-0.1.0
hello-foo-rs 0.1.0
Permalink
Docs.rs crate page
MIT
29 May 2026
Links
crates.io
Source
Owners
xdavidliu
Dependencies
Versions
50%
of the crate is documented
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
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
);