Skip to content

Commit

Permalink
Auto merge of #559 - waywardmonkeys:fix-unbalanced-backticks, r=cuviper
Browse files Browse the repository at this point in the history
Fix unbalanced backticks in doc comments.
  • Loading branch information
bors committed Sep 16, 2024
2 parents a69af93 + f86adc6 commit 0011336
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4003,7 +4003,7 @@ impl<'a, K, V, S, A: Allocator> VacantEntry<'a, K, V, S, A> {
}

/// Sets the value of the entry with the [`VacantEntry`]'s key,
/// and returns an [`OccupiedEntry`]`.
/// and returns an [`OccupiedEntry`].
///
/// # Examples
///
Expand Down Expand Up @@ -4303,7 +4303,7 @@ impl<'a, 'b, K, Q: ?Sized, V, S, A: Allocator> VacantEntryRef<'a, 'b, K, Q, V, S
}

/// Sets the value of the entry with the [`VacantEntryRef`]'s key,
/// and returns an [`OccupiedEntry`]`.
/// and returns an [`OccupiedEntry`].
///
/// # Examples
///
Expand Down
4 changes: 2 additions & 2 deletions src/raw/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ impl RawTableInner {
/// Attempt to write data at the `index` returned by this function when the table is
/// less than the group width and if there was not at least one empty or deleted bucket in
/// the table will cause immediate [`undefined behavior`]. This is because in this case the
/// function will return `self.bucket_mask + 1` as an index due to the trailing [`EMPTY]
/// function will return `self.bucket_mask + 1` as an index due to the trailing [`EMPTY`]
/// control bytes outside the table range.
///
/// The caller must independently increase the `items` field of the table, and also,
Expand Down Expand Up @@ -1873,7 +1873,7 @@ impl RawTableInner {
/// Attempt to write data at the [`InsertSlot`] returned by this function when the table is
/// less than the group width and if there was not at least one empty or deleted bucket in
/// the table will cause immediate [`undefined behavior`]. This is because in this case the
/// function will return `self.bucket_mask + 1` as an index due to the trailing [`EMPTY]
/// function will return `self.bucket_mask + 1` as an index due to the trailing [`EMPTY`]
/// control bytes outside the table range.
///
/// [`undefined behavior`]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
Expand Down

0 comments on commit 0011336

Please sign in to comment.