Added Syntax Highlighting to Example in ReadME

This commit is contained in:
Redfire
2023-06-05 20:22:57 +08:00
committed by GitHub
parent 1c32733f38
commit 7547f31b76
+1 -1
View File
@@ -24,7 +24,7 @@ humantime_to_duration = "0.3.0"
```
Then, import the crate and use the `from_str` and `from_str_at_date` functions:
```
```rs
use humantime_to_duration::{from_str, from_str_at_date};
use chrono::Duration;