Skip to content

Commit 6c19642

Browse files
committed
revise doc comments on raw timestamp getters
1 parent 6c42de1 commit 6c19642

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/raw/elem.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,14 +395,14 @@ pub struct RawTimestamp<'a> {
395395
}
396396

397397
impl<'a> RawTimestamp<'a> {
398-
/// Return the time portion of the timestamp.
398+
/// Gets the time portion of the timestamp.
399399
pub fn time(&self) -> u32 {
400400
// RawBsonTimestamp can only be constructed with the correct data length, so this should
401401
// always succeed.
402402
u32_from_slice(&self.data[4..8])
403403
}
404404

405-
/// Return the increment portion of the timestamp.
405+
/// Gets the increment portion of the timestamp.
406406
pub fn increment(&self) -> u32 {
407407
// RawBsonTimestamp can only be constructed with the correct data length, so this should
408408
// always succeed.

0 commit comments

Comments
 (0)