Skip to content

Commit c08d9cf

Browse files
committed
fix: pi example updated
1 parent e4a7da8 commit c08d9cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn calculate_pi_with_n_decimals(n: u32) -> f64 {
77
}
88

99
fn main() {
10-
let result = calculate_pi_with_n_decimals(10);
10+
let result = calculate_pi_with_n_decimals(100);
1111
println!("pi: {}", result);
1212
// assert_eq!(result, 3.0418396189294032);
1313
}

0 commit comments

Comments
 (0)