Skip to content

Commit aec5588

Browse files
committed
fixup
1 parent 377d3e9 commit aec5588

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/protocol.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ impl ProtocolHandler for Docs {
3232
#[derive(Debug, Clone)]
3333
pub struct Docs {
3434
engine: Arc<Engine>,
35-
#[cfg(feature = "rpc")]
36-
pub(crate) rpc_handler: Arc<std::sync::OnceLock<crate::rpc::RpcHandler>>,
35+
// #[cfg(feature = "rpc")]
36+
// pub(crate) rpc_handler: Arc<std::sync::OnceLock<crate::rpc::RpcHandler>>,
3737
}
3838

3939
impl Docs {
@@ -65,8 +65,8 @@ impl Docs {
6565
pub fn new(engine: Engine) -> Self {
6666
Self {
6767
engine: Arc::new(engine),
68-
#[cfg(feature = "rpc")]
69-
rpc_handler: Default::default(),
68+
// #[cfg(feature = "rpc")]
69+
// rpc_handler: Default::default(),
7070
}
7171
}
7272

0 commit comments

Comments
 (0)