Skip to content

Commit

Permalink
Fix rustdoc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Jul 21, 2020
1 parent 4e4437d commit 7e3585e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions zenoh-protocol/src/proto/seq_num.rs
Expand Up @@ -161,9 +161,7 @@ impl SeqNum {

/// Sequence Number Generator
///
/// The [`SeqNumGenerator`][SeqNumGenerator] encapsulates the generation of sequence numbers
/// along with a [`precede`][SeqNumGenerator::precede] predicate that checks whether two
/// sequence numbers are in the precede relationship.
/// The [`SeqNumGenerator`][SeqNumGenerator] encapsulates the generation of sequence numbers.
#[derive(Clone, Copy, Debug)]
pub struct SeqNumGenerator(SeqNum);

Expand Down
2 changes: 1 addition & 1 deletion zenoh-util/src/sync/condition.rs
Expand Up @@ -18,7 +18,7 @@ use std::sync::atomic::{AtomicUsize, Ordering};
/// This is a Condition Variable similar to that provided by POSIX.
/// As for POSIX condition variables, this assumes that a mutex is
/// properly used to coordinate behaviour. In other terms there should
/// not be race condition on [notify].
/// not be race condition on [notify](Condition::notify).
///
pub struct Condition {
wait_rx: Receiver<bool>,
Expand Down

0 comments on commit 7e3585e

Please sign in to comment.