Skip to content

Commit 31d1eb0

Browse files
committed
docs: Fix typo in parameters
1 parent 3102435 commit 31d1eb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/file_time/convert.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ impl TryFrom<FileTime> for OffsetDateTime {
117117
///
118118
/// # Errors
119119
///
120-
/// Returns [`Err`] if `time` is out of range for [`OffsetDateTime`].
120+
/// Returns [`Err`] if `ft` is out of range for [`OffsetDateTime`].
121121
///
122122
/// # Examples
123123
///
@@ -280,7 +280,7 @@ impl TryFrom<std::time::SystemTime> for FileTime {
280280
///
281281
/// # Errors
282282
///
283-
/// Returns [`Err`] if `time` is out of range for the file time.
283+
/// Returns [`Err`] if `st` is out of range for the file time.
284284
///
285285
/// # Examples
286286
///

0 commit comments

Comments
 (0)