Skip to content

Commit

Permalink
Temp fix for codeql until build works, fix rust typos
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 25, 2024
1 parent 8219506 commit 07dc8fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:
- name: c
language: c-cpp
build-mode: manual
- name: cpp
language: c-cpp
build-mode: manual
# - name: cpp
# language: c-cpp
# build-mode: manual
- name: csharp
language: csharp
build-mode: none
Expand Down
2 changes: 1 addition & 1 deletion rust/src/p0014.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn collatz_len(n: u64, cache: &mut HashMap<u64, u64>) -> u64 {
}
}

pub fn main() {
pub fn p0014() -> i128 {
let mut biggest_seen: u64 = 0;
let mut biggest_idx: u64 = 0;
let mut cache: HashMap<u64, u64> = HashMap::new();
Expand Down

0 comments on commit 07dc8fe

Please sign in to comment.