Docs.rs
advent-0.2.2
advent 0.2.2
Docs.rs crate page
MIT
Links
Homepage
crates.io
Source
Owners
aldrin
Dependencies
Versions
96.67%
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
☰
In advent::y2018::day1
?
Function
advent
::
y2018
::
day1
::
part1
source
·
[
−
]
pub fn part1(input: &[
i32
]) ->
i32
Expand description
O(n)
one-liner with no additional space