We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c42de1 commit 6c19642Copy full SHA for 6c19642
src/raw/elem.rs
@@ -395,14 +395,14 @@ pub struct RawTimestamp<'a> {
395
}
396
397
impl<'a> RawTimestamp<'a> {
398
- /// Return the time portion of the timestamp.
+ /// Gets the time portion of the timestamp.
399
pub fn time(&self) -> u32 {
400
// RawBsonTimestamp can only be constructed with the correct data length, so this should
401
// always succeed.
402
u32_from_slice(&self.data[4..8])
403
404
405
- /// Return the increment portion of the timestamp.
+ /// Gets the increment portion of the timestamp.
406
pub fn increment(&self) -> u32 {
407
408
0 commit comments