Skip to content

Commit

Permalink
add repr transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
rklaehn committed Nov 14, 2024
1 parent 169789c commit bf58139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rpc/client/authors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use crate::{

/// Iroh docs client.
#[derive(Debug, Clone)]
#[repr(transparent)]
pub struct Client<C = BoxedConnector<RpcService>> {
pub(super) rpc: quic_rpc::RpcClient<RpcService, C>,
}
Expand Down
1 change: 1 addition & 0 deletions src/rpc/client/docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub use crate::{

/// Iroh docs client.
#[derive(Debug, Clone)]
#[repr(transparent)]
pub struct Client<C = BoxedConnector<RpcService>> {
pub(super) rpc: quic_rpc::RpcClient<RpcService, C>,
}
Expand Down

0 comments on commit bf58139

Please sign in to comment.