Skip to content

Commit

Permalink
REF: Replace duplicated words in comments and copy
Browse files Browse the repository at this point in the history
  • Loading branch information
naomi-danielle committed Jan 22, 2024
1 parent 72d4a68 commit 180951f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/dbn-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub fn derive_mock_pyo3(_item: TokenStream) -> TokenStream {
TokenStream::new()
}

/// Dummy derive macro to enable enable the `dbn` helper attribute for record types
/// Dummy derive macro to enable the `dbn` helper attribute for record types
/// using the `dbn_record` proc macro but neither `CsvSerialize` nor `JsonSerialize` as
/// helper attributes aren't supported for proc macros alone. See
/// <https://github.com/rust-lang/rust/issues/65823>.
Expand Down Expand Up @@ -72,7 +72,7 @@ pub fn derive_py_field_desc(input: TokenStream) -> TokenStream {
py_field_desc::derive_impl(input)
}

/// Attribute macro that acts like a derive macro for for `Debug` (with customization),
/// Attribute macro that acts like a derive macro for `Debug` (with customization),
/// `Record`, `RecordMut`, `HasRType`, `PartialOrd`, and `AsRef<[u8]>`.
///
/// Expects 1 or more paths to `u8` constants that are the RTypes associated
Expand Down

0 comments on commit 180951f

Please sign in to comment.