From 5e9c14715a1c4bb21ea1bffea8502ad4cebbd86b Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 13 Nov 2023 23:09:35 +0700 Subject: [PATCH] docs: Add some missing backticks. --- src/offset_of.rs | 2 +- src/raw_field.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/offset_of.rs b/src/offset_of.rs index f5a7ba6..bc0497d 100644 --- a/src/offset_of.rs +++ b/src/offset_of.rs @@ -186,7 +186,7 @@ macro_rules! _memoffset__offset_of_union_impl { /// ``` /// /// ## Note -/// Due to macro_rules limitations, this macro will accept structs with a single field as well as unions. +/// Due to `macro_rules!` limitations, this macro will accept structs with a single field as well as unions. /// This is not a stable guarantee, and future versions of this crate might fail /// on any use of this macro with a struct, without a semver bump. #[macro_export(local_inner_macros)] diff --git a/src/raw_field.rs b/src/raw_field.rs index 7ad84ce..c9e81fd 100644 --- a/src/raw_field.rs +++ b/src/raw_field.rs @@ -206,7 +206,7 @@ macro_rules! raw_field_tuple { /// ## Note /// This macro is the same as `raw_field`, except for a different Deref-coercion check that /// supports unions. -/// Due to macro_rules limitations, this check will accept structs with a single field as well as unions. +/// Due to `macro_rules!` limitations, this check will accept structs with a single field as well as unions. /// This is not a stable guarantee, and future versions of this crate might fail /// on any use of this macro with a struct, without a semver bump. #[macro_export(local_inner_macros)]