@@ -228,7 +228,7 @@ impl Datum {
228228 }
229229 }
230230
231- /// Creates an 32bit floating point number.
231+ /// Creates an 64bit floating point number.
232232 ///
233233 /// Example:
234234 /// ```rust
@@ -265,7 +265,7 @@ impl Datum {
265265 }
266266 }
267267
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.
269269 ///
270270 /// See [`NaiveDate::from_str`].
271271 ///
@@ -289,7 +289,7 @@ impl Datum {
289289 Ok ( Self :: date ( date_from_naive_date ( t) ) )
290290 }
291291
292- /// Create a date from calendar date (year, month and day).
292+ /// Create date literal from calendar date (year, month and day).
293293 ///
294294 /// See [`NaiveDate::from_ymd_opt`].
295295 ///
@@ -313,9 +313,9 @@ impl Datum {
313313 Ok ( Self :: date ( date_from_naive_date ( t) ) )
314314 }
315315
316- /// Creates time in microseconds directly.
316+ /// Creates time literal in microseconds directly.
317317 ///
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.
319319 ///
320320 /// Example:
321321 ///
@@ -364,7 +364,7 @@ impl Datum {
364364 }
365365 }
366366
367- /// Creates time in microseconds in `%H:%M:%S:.f` format.
367+ /// Creates time literal in microseconds in `%H:%M:%S:.f` format.
368368 ///
369369 /// See [`NaiveTime::from_str`] for details.
370370 ///
0 commit comments