Docs.rs
str_rev-0.1.0
str_rev 0.1.0
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
marsalan485
Dependencies
Versions
0%
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
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Files
str_rev/
lib.rs
1
fn
main(){
2
3
}
4
fn
str_rev(s:
&
str) -> String {
5
s.chars().rev().collect()
6
}