We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aeb3bc commit ddb1ae7Copy full SHA for ddb1ae7
examples/pi.rs
@@ -1,12 +1,13 @@
1
use auto_rust::auto_implement;
2
3
#[auto_implement]
4
-#[doc = "This function calculates pi with a robust and very fast algorithm."]
+/// This function calculates pi with a robust and very fast algorithm.
5
fn calculate_pi_with_n_decimals(n: u32) -> f64 {
6
todo!()
7
}
8
9
fn main() {
10
let result = calculate_pi_with_n_decimals(10);
11
println!("pi: {}", result);
12
+ // assert_eq!(result, 3.0418396189294032);
13
0 commit comments