Skip to content

Commit f30bb99

Browse files
refactor: remove unneeded pub(crate)s (#890)
1 parent aafd452 commit f30bb99

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

crates/ironrdp-cliprdr/src/pdu/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ pub const FORMAT_NAME_FILE_LIST: &str = "FileGroupDescriptorW";
4040

4141
/// Header without message type included
4242
struct PartialHeader {
43-
pub(crate) message_flags: ClipboardPduFlags,
44-
pub(crate) data_length: u32,
43+
message_flags: ClipboardPduFlags,
44+
data_length: u32,
4545
}
4646

4747
impl PartialHeader {

crates/ironrdp-web/src/clipboard.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,8 @@ pub(crate) enum ClipboardItemValue {
656656
/// Object which represents single clipboard format represented standard MIME type.
657657
#[derive(Debug, Clone)]
658658
pub(crate) struct ClipboardItem {
659-
pub(crate) mime_type: String,
660-
pub(crate) value: ClipboardItemValue,
659+
mime_type: String,
660+
value: ClipboardItemValue,
661661
}
662662

663663
impl ClipboardItem {

crates/ironrdp-web/src/input.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use ironrdp::input::{MouseButton, MousePosition, Operation, Scancode, WheelRotat
22
use smallvec::SmallVec;
33

44
#[derive(Clone)]
5-
pub(crate) struct DeviceEvent(pub(crate) Operation);
5+
pub(crate) struct DeviceEvent(Operation);
66

77
impl iron_remote_desktop::DeviceEvent for DeviceEvent {
88
fn mouse_button_pressed(button: u8) -> Self {
@@ -53,7 +53,7 @@ impl iron_remote_desktop::DeviceEvent for DeviceEvent {
5353
}
5454
}
5555

56-
pub(crate) struct InputTransaction(pub(crate) SmallVec<[Operation; 3]>);
56+
pub(crate) struct InputTransaction(SmallVec<[Operation; 3]>);
5757

5858
impl iron_remote_desktop::InputTransaction for InputTransaction {
5959
type DeviceEvent = DeviceEvent;

0 commit comments

Comments
 (0)