Skip to content

Commit 24a02cf

Browse files
committed
fix(client): remove unneeded pub(in crate::r#mod) from Client::new
We don't actually need this function to be public and it crashes rustc when compiling docs fixes xi-frontend#36
1 parent 105b555 commit 24a02cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/protocol/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ pub struct Client {
217217
}
218218

219219
impl Client {
220-
pub(in crate::r#mod) fn new(
220+
fn new(
221221
requests_tx: RequestTx,
222222
notifications_tx: NotificationTx,
223223
shutdown_tx: mpsc::UnboundedSender<()>,

0 commit comments

Comments
 (0)