-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- rust version 1.75 - clippy warnings - workspace resolver v2 - test fixes Signed-off-by: yourarj <11359226+yourarj@users.noreply.github.com> Date: Sat Dec 30 22:14:57 2023 +0530 On branch main Changes to be committed: modified: Cargo.toml modified: adaface-rust-tricky-quiz/src/sizeof.rs modified: leetcode-add-two-numbers/src/main.rs modified: leetcode-basic-calculator-ii/src/main.rs modified: leetcode-car-pooling/src/main.rs modified: leetcode-check-if-number-has-equal-digit-count-and-digit-value/src/lib.rs modified: leetcode-design-a-stack-with-increment-operation/src/lib.rs modified: leetcode-find-the-index-of-the-first-occurrence-in-a-string/src/lib.rs modified: leetcode-jump-game-iv/src/lib.rs modified: leetcode-longest-common-prefix/src/lib.rs modified: leetcode-longest-substring-without-repeating-characters/src/lib.rs modified: leetcode-numbers-with-same-consecutive-differences/src/lib.rs modified: leetcode-palindrome-number/src/lib.rs modified: leetcode-sqrtx/src/lib.rs modified: leetcode-two-sum/src/main.rs modified: leetcode-valid-parentheses/src/lib.rs modified: rust-toolchain.toml modified: university-of-princeton-3sum/src/lib.rs modified: university-of-princeton-path-compressed-percolation-threshold-via-monte-carlo-simulation/src/lib.rs modified: university-of-princeton-path-compressed-weighted-quick-union-canonical-element/src/lib.rs modified: university-of-princeton-path-compressed-weighted-quick-union-social/src/ds.rs modified: university-of-princeton-path-compressed-weighted-quick-union-social/src/lib.rs modified: university-of-princeton-path-compressed-weighted-quick-union/src/lib.rs modified: university-of-princeton-quick-find/src/lib.rs modified: university-of-princeton-quick-union/src/lib.rs modified: university-of-princeton-weighted-quick-union/src/lib.rs
- Loading branch information
Showing
26 changed files
with
187 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ impl Solution { | |
while r * r > x { | ||
r = (r + x / r) / 2; | ||
} | ||
return r as i32; | ||
r as i32 | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
use std::ops::Deref; | ||
|
||
fn main() { | ||
println!("Hello, world!"); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[toolchain] | ||
channel = "1.67.0" | ||
channel = "1.75.0" | ||
components = ["rustfmt", "clippy"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.