Skip to content

Commit

Permalink
Proof of concept: exposing inner function to parent module.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Apr 21, 2024
1 parent fe0fb75 commit 117d770
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fn solve_and_time_one(problem_number: i32) -> bool {
56 => solutions::powerful_digit_sum::solve,
57 => solutions::square_root_convergents::solve,
58 => solutions::spiral_primes::solve,
59 => solutions::xor_decryption::solve,
59 => solutions::solve,
61 => solutions::cyclical_figurate_numbers::solve,
62 => solutions::cubic_permutations::solve,
63 => solutions::powerful_digit_counts::solve,
Expand Down
3 changes: 2 additions & 1 deletion src/solutions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ pub mod thousand_digit_fibonacci_number;
pub mod totient_maximum;
pub mod triangular_pentagonal_and_hexagonal;
pub mod truncatable_primes;
pub mod xor_decryption;
mod xor_decryption;
pub use xor_decryption::solve;

#[cfg(test)]
mod tests {
Expand Down

0 comments on commit 117d770

Please sign in to comment.