(n: web::Path<u64>)
| 22 | } |
| 23 | |
| 24 | async fn an_expensive_function(n: web::Path<u64>) -> impl Responder { |
| 25 | let result = fib_recursive(n.to_owned()); |
| 26 | HttpResponse::Ok().body(result.to_string()) |
| 27 | } |
| 28 | |
| 29 | #[actix_web::main] |
| 30 | async fn main() -> std::result::Result<(), std::io::Error> { |
nothing calls this directly
no test coverage detected