@@ -228,7 +228,7 @@ impl Datum {
228
228
}
229
229
}
230
230
231
- /// Creates an 32bit floating point number.
231
+ /// Creates an 64bit floating point number.
232
232
///
233
233
/// Example:
234
234
/// ```rust
@@ -265,7 +265,7 @@ impl Datum {
265
265
}
266
266
}
267
267
268
- /// Creates a date in `%Y-%m-%d` format, assume in utc timezone.
268
+ /// Creates date literal in `%Y-%m-%d` format, assume in utc timezone.
269
269
///
270
270
/// See [`NaiveDate::from_str`].
271
271
///
@@ -289,7 +289,7 @@ impl Datum {
289
289
Ok ( Self :: date ( date_from_naive_date ( t) ) )
290
290
}
291
291
292
- /// Create a date from calendar date (year, month and day).
292
+ /// Create date literal from calendar date (year, month and day).
293
293
///
294
294
/// See [`NaiveDate::from_ymd_opt`].
295
295
///
@@ -313,9 +313,9 @@ impl Datum {
313
313
Ok ( Self :: date ( date_from_naive_date ( t) ) )
314
314
}
315
315
316
- /// Creates time in microseconds directly.
316
+ /// Creates time literal in microseconds directly.
317
317
///
318
- /// It will returns error when it's negative or too large to fit in 24 hours.
318
+ /// It will return error when it's negative or too large to fit in 24 hours.
319
319
///
320
320
/// Example:
321
321
///
@@ -364,7 +364,7 @@ impl Datum {
364
364
}
365
365
}
366
366
367
- /// Creates time in microseconds in `%H:%M:%S:.f` format.
367
+ /// Creates time literal in microseconds in `%H:%M:%S:.f` format.
368
368
///
369
369
/// See [`NaiveTime::from_str`] for details.
370
370
///
0 commit comments