diff --git a/src/rpc/client/authors.rs b/src/rpc/client/authors.rs index 3529abb..18a154f 100644 --- a/src/rpc/client/authors.rs +++ b/src/rpc/client/authors.rs @@ -19,6 +19,7 @@ use crate::{ /// Iroh docs client. #[derive(Debug, Clone)] +#[repr(transparent)] pub struct Client> { pub(super) rpc: quic_rpc::RpcClient, } diff --git a/src/rpc/client/docs.rs b/src/rpc/client/docs.rs index f27bfdb..a6e5d00 100644 --- a/src/rpc/client/docs.rs +++ b/src/rpc/client/docs.rs @@ -40,6 +40,7 @@ pub use crate::{ /// Iroh docs client. #[derive(Debug, Clone)] +#[repr(transparent)] pub struct Client> { pub(super) rpc: quic_rpc::RpcClient, }