Skip to content

Commit 1bc9ada

Browse files
committed
Add clippy warning
1 parent 45337c7 commit 1bc9ada

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ pub fn multiply(a: i32, b: i32) -> i32 {
55

66
/// Divides two integers
77
pub fn divide(a: i32, b: i32) -> i32 {
8+
let a = a / 1;
89
a / b
910
}
1011

0 commit comments

Comments
 (0)