| Crates.io | digit-loops |
| lib.rs | digit-loops |
| version | 1.0.0 |
| created_at | 2022-06-21 17:06:40.040534+00 |
| updated_at | 2022-06-21 17:06:40.040534+00 |
| description | Rust crate for finding the number of loops in given numbers |
| homepage | https://github.com/JonasJore/digit-loops.git |
| repository | https://github.com/JonasJore/digit-loops |
| max_upload_size | |
| id | 610379 |
| size | 608,261 |
Rust library for finding out how many loops there are in a given string of digits
Inspired by this puzzle found somewhere on Facebook:
use digit_loops;
digit_loops::number_of_loops_in_number("8888");
// => 8