Skip to content

Commit

Permalink
Provide LangID via preludes
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrrees committed Nov 13, 2023
1 parent 6021f1c commit 4bb3acb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ mod device_builder;
/// Prelude for device implementors.
pub mod prelude {
pub use crate::device::{UsbDevice, UsbDeviceBuilder, UsbDeviceState, UsbVidPid};
pub use crate::LangID;
pub use crate::UsbError;
}

Expand All @@ -196,6 +197,7 @@ pub mod class_prelude {
EndpointAddress, EndpointIn, EndpointOut, EndpointType, IsochronousSynchronizationType,
IsochronousUsageType,
};
pub use crate::LangID;
pub use crate::UsbError;
}

Expand Down

0 comments on commit 4bb3acb

Please sign in to comment.