Skip to content

Commit a096b14

Browse files
elmarcoCBenoit
authored andcommitted
docs(svc): fix rustdoc warnings
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
1 parent c609fab commit a096b14

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/ironrdp-svc/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use std::borrow::Cow;
1717
use std::marker::PhantomData;
1818

1919
use bitflags::bitflags;
20-
use ironrdp_core::{assert_obj_safe, DecodeResult, EncodeResult, ReadCursor, WriteBuf, WriteCursor};
20+
use ironrdp_core::{assert_obj_safe, AsAny, DecodeResult, EncodeResult, ReadCursor, WriteBuf, WriteCursor};
2121
use ironrdp_core::{decode_cursor, encode_buf, Encode};
2222
use ironrdp_pdu::gcc::{ChannelName, ChannelOptions};
2323
use ironrdp_pdu::{decode_err, mcs, PduResult};
@@ -55,8 +55,8 @@ impl<P: SvcProcessor> From<SvcProcessorMessages<P>> for Vec<SvcMessage> {
5555
}
5656
}
5757

58-
/// Represents a message that, when encoded, forms a complete PDU for a given static virtual channel, sans any [`ChannelPduHeader`].
59-
/// In other words, this marker should be applied to a message that is ready to be chunkified (have [`ChannelPduHeader`]s added,
58+
/// Represents a message that, when encoded, forms a complete PDU for a given static virtual channel, sans any Channel PDU Header.
59+
/// In other words, this marker should be applied to a message that is ready to be chunkified (have channel PDU headers added,
6060
/// splitting it into chunks if necessary) and wrapped in MCS, x224, and tpkt headers for sending over the wire.
6161
pub trait SvcEncode: Encode + Send {}
6262

@@ -234,7 +234,7 @@ pub fn server_encode_svc_messages(
234234
/// communication between client and server components over the main data connection.
235235
/// There are at most 31 (optional) static virtual channels that can be created for a single connection, for a
236236
/// total of 32 static channels when accounting for the non-optional I/O channel.
237-
pub trait SvcProcessor: ironrdp_core::AsAny + fmt::Debug + Send {
237+
pub trait SvcProcessor: AsAny + fmt::Debug + Send {
238238
/// Returns the name of the static virtual channel corresponding to this processor.
239239
fn channel_name(&self) -> ChannelName;
240240

0 commit comments

Comments
 (0)