diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/windmark.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/windmark.rs b/examples/windmark.rs index e5dcd52..ef2813c 100644 --- a/examples/windmark.rs +++ b/examples/windmark.rs @@ -124,11 +124,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> { ); router.mount( "/time", - success!(std::time::UNIX_EPOCH - .elapsed() - .unwrap() - .as_nanos() - .to_string()), + success!(std::time::UNIX_EPOCH.elapsed().unwrap().as_nanos()), ); router.mount( "/query", |