Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 35035b2

Browse files
committed
Fix rustc warning
1 parent 67485a0 commit 35035b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/leetcode/problem/guess_number.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// 374. Guess Number Higher or Lower, Easy
22
// https://leetcode.com/problems/guess-number-higher-or-lower/
33
impl Solution {
4-
unsafe fn guess(n: i32) -> i32 {
4+
// fn provided by leetcode
5+
unsafe fn guess(_n: i32) -> i32 {
56
1
67
}
78

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /