Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jhelovuo/RustDDS
Browse files Browse the repository at this point in the history
  • Loading branch information
SelimV committed Nov 10, 2023
2 parents 4a2f74b + b1be446 commit 89ea1d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/dds/qos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ impl QosPolicyBuilder {

#[must_use]
pub const fn reliable(mut self, max_blocking_time: Duration) -> Self {
self.reliability = Some(policy::Reliability::Reliable{ max_blocking_time });
self.reliability = Some(policy::Reliability::Reliable { max_blocking_time });
self
}

Expand Down
1 change: 0 additions & 1 deletion src/structure/duration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ impl Duration {
}
}


pub fn to_nanoseconds(&self) -> i64 {
((i128::from(self.to_ticks()) * 1_000_000_000) >> 32) as i64
}
Expand Down

0 comments on commit 89ea1d4

Please sign in to comment.