Reduce cargo doc warnings (#8947)

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Squirrel
2021-06-01 10:26:10 +01:00
committed by GitHub
parent 3b1c2f55b2
commit dc88e6dd7e
9 changed files with 17 additions and 18 deletions
@@ -25,7 +25,7 @@
//! 2. Forward the request to [`crate::request_responses::RequestResponsesBehaviour`] via
//! [`OutEvent::SendRequest`].
//!
//! 3. Wait for the response and forward the response via the [`oneshot::Sender`] provided earlier
//! 3. Wait for the response and forward the response via the [`futures::channel::oneshot::Sender`] provided earlier
//! with [`LightClientRequestSender::send_request`].
use codec::{self, Encode, Decode};
@@ -552,7 +552,7 @@ pub enum OutEvent {
target: PeerId,
/// The encoded request.
request: Vec<u8>,
/// The [`onehsot::Sender`] channel to pass the response to.
/// The [`oneshot::Sender`] channel to pass the response to.
pending_response: oneshot::Sender<Result<Vec<u8>, RequestFailure>>,
/// The name of the protocol to use to send the request.
protocol_name: String,