projects
/
rust-101.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a "solutions" crate with a BigInt class
[rust-101.git]
/
src
/
part01.rs
diff --git
a/src/part01.rs
b/src/part01.rs
index d046a1b70330f7769276a94abe9e488591a7be80..1603c14eec792e7fa99cde49e6ae2d504dcdba5d 100644
(file)
--- a/
src/part01.rs
+++ b/
src/part01.rs
@@
-79,7
+79,7
@@
impl NumberOrNothing {
fn read_vec() -> Vec<i32> {
vec![18,5,7,2,9,27]
}
-pub fn
part_
main() {
+pub fn main() {
let vec = read_vec();
let min = vec_min(vec);
min.print();