generated from janezicmatej/aoc-template
chore: reorder lib root
This commit is contained in:
parent
00000190b5
commit
000002005e
|
@ -1,10 +1,10 @@
|
||||||
#![feature(pattern)]
|
#![feature(pattern)]
|
||||||
|
|
||||||
use std::mem::swap;
|
|
||||||
|
|
||||||
pub mod parsers;
|
pub mod parsers;
|
||||||
pub mod template;
|
pub mod template;
|
||||||
|
|
||||||
|
use std::mem::swap;
|
||||||
|
|
||||||
pub fn lcm(first: usize, second: usize) -> usize {
|
pub fn lcm(first: usize, second: usize) -> usize {
|
||||||
first * second / gcd(first, second)
|
first * second / gcd(first, second)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue