Skip to content

Commit

Permalink
Fix duplicate backticks in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bluurryy authored and udoprog committed Jun 10, 2024
1 parent e3a63b4 commit b89ff02
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/musli-zerocopy/src/buf/owned_buf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl OwnedBuf {
}
}

/// Allocate a new buffer with the given `capacity`` and an alignment
/// Allocate a new buffer with the given `capacity` and an alignment
/// matching that of `T`.
///
/// The buffer must allocate for at least the given `capacity`, but might
Expand Down
2 changes: 1 addition & 1 deletion crates/musli-zerocopy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ pub use musli_zerocopy_macros::Visit;
///
/// ### `#[zero_copy(crate = <path>)]`
///
/// Allows for specifying a custom path to the `musli_zerocopy`` crate
/// Allows for specifying a custom path to the `musli_zerocopy` crate
/// (default).
///
/// ```
Expand Down
2 changes: 1 addition & 1 deletion crates/musli-zerocopy/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub unsafe trait UnsizedZeroCopy: self::sealed::Sealed + Pointee {
///
/// # Examples
///
/// Using `#[zero_copy(ignore)]`` on generic fields that implements
/// Using `#[zero_copy(ignore)]` on generic fields that implements
/// [`ZeroSized`]:
///
/// ```
Expand Down
2 changes: 1 addition & 1 deletion crates/musli/src/dec2flt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
//! a large-decimal representation, shifting the digits into range, calculating
//! the upper significant bits and exactly round to the nearest representation.
//!
//! Another aspect that needs attention is the ``RawFloat`` trait by which almost all functions
//! Another aspect that needs attention is the `RawFloat` trait by which almost all functions
//! are parametrized. One might think that it's enough to parse to `f64` and cast the result to
//! `f32`. Unfortunately this is not the world we live in, and this has nothing to do with using
//! base two or half-to-even rounding.
Expand Down

0 comments on commit b89ff02

Please sign in to comment.