From 6e030925819ec8e32de47574b018b8fdf4ca77e6 Mon Sep 17 00:00:00 2001 From: Louis <contact@louiscap.co> Date: Wed, 4 Jan 2023 14:21:31 +0000 Subject: [PATCH] Fix example output line --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab7287e..8645a3c 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,6 @@ use std::time::Duration; fn my_cross_platform_timer(last_time: Spot) { let time_diff: Duration = Spot::now() - last_time; - println!("It has been {} seconds", time_diff.as_seconds()); + println!("It has been {} seconds", time_diff.as_secs()); } ``` -- GitLab