Skip to content

Commit aa03afa

Browse files
committed
Fix typos in a comment and in the README
1 parent ccc58e5 commit aa03afa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,9 @@ How to choose between all these features? Here are some considerations:
425425
```
426426
</details>
427427
* `Time` maps to/from i32 or a newtype around it. The Time data type is used to store a time value independent of any calendar date. It is ideal for representing daily schedules, event times, or any situation where only the time component (hours, minutes, seconds) is important.
428-
* [`time::Duration`](https://docs.rs/time/latest/time/struct.Duration.html) is is supported by using `serde::time::time`, requiring the `time` feature.
428+
* [`time::Duration`](https://docs.rs/time/latest/time/struct.Duration.html) is supported by using `serde::time::time`, requiring the `time` feature.
429429
* [`chrono::Duration`](https://docs.rs/chrono/latest/chrono/type.Duration.html) is supported by using `serde::chrono::time`, which is an alias to `TimeDelta`, requiring the `chrono` feature
430-
* [`jiff::SignedDuration`](https://docs.rs/jiff/latest/jiff/struct.SignedDuration.html) is is supported by using `serde::jiff::time`, requiring the `jiff` feature.
430+
* [`jiff::SignedDuration`](https://docs.rs/jiff/latest/jiff/struct.SignedDuration.html) is supported by using `serde::jiff::time`, requiring the `jiff` feature.
431431
<details>
432432
<summary>Example</summary>
433433
@@ -447,9 +447,9 @@ How to choose between all these features? Here are some considerations:
447447
```
448448
</details>
449449
* `Time64(_)` maps to/from i64 or a newtype around it. The Time data type is used to store a time value independent of any calendar date. It is ideal for representing daily schedules, event times, or any situation where only the time component (hours, minutes, seconds) is important.
450-
* [`time::Duration`](https://docs.rs/time/latest/time/struct.Duration.html) is is supported by using `serde::time::time64::*`, requiring the `time` feature.
450+
* [`time::Duration`](https://docs.rs/time/latest/time/struct.Duration.html) is supported by using `serde::time::time64::*`, requiring the `time` feature.
451451
* [`chrono::Duration`](https://docs.rs/chrono/latest/chrono/type.Duration.html) is supported by using `serde::chrono::time64::*`, requiring the `chrono` feature
452-
* [`jiff::SignedDuration`](https://docs.rs/jiff/latest/jiff/struct.SignedDuration.html) is is supported by using `serde::jiff::time64::*`, requiring the `jiff` feature.
452+
* [`jiff::SignedDuration`](https://docs.rs/jiff/latest/jiff/struct.SignedDuration.html) is supported by using `serde::jiff::time64::*`, requiring the `jiff` feature.
453453
<details>
454454
<summary>Example</summary>
455455

tests/it/jiff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ impl Distribution<DateWrapper> for StandardUniform {
260260
//
261261
// Causing this:
262262
// ```
263-
// Date::MIN + DATE::MAX.duration_since(Date::MIN)
263+
// Date::MIN + Date::MAX.duration_since(Date::MIN)
264264
// ```
265265
// to fail.
266266
//

0 commit comments

Comments
 (0)