Skip to content

Commit

Permalink
fix clippy warnning
Browse files Browse the repository at this point in the history
Signed-off-by: guoweikang <[email protected]>
  • Loading branch information
guoweikang committed Oct 15, 2024
1 parent 3d826d9 commit 715172f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub use raw_list::{GetLinks, Links};
macro_rules! def_node {
($struct_name:ident, $type:ty) => {
#[doc = concat!("Struct ", stringify!($struct_name),
"is a Node wrapper for type ", stringify!($type))]
"is a Node wrapper for type ", stringify!($type))]
pub struct $struct_name {
pub inner: $type,
links: $crate::Links<Self>,
Expand Down Expand Up @@ -135,7 +135,7 @@ macro_rules! def_node {
macro_rules! def_generic_node {
($struct_name:ident) => {
#[doc = concat!("Struct ", stringify!($struct_name),
"is a Node wrapper include a generic type")]
"is a Node wrapper include a generic type")]
pub struct $struct_name<T> {
pub inner: T,
links: $crate::Links<Self>,
Expand Down

0 comments on commit 715172f

Please sign in to comment.