Skip to content

Commit 0ea872c

Browse files
committed
Provide BuilderError through prelude
1 parent 808b1a4 commit 0ea872c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
## [0.3.1] - 2023-11-15
99

1010
### Added
11-
* `LangID` in `prelude` and `class_prelude`, `StringDescriptors` in `prelude`
11+
* `BuilderError`, `LangID`, `StringDescriptors` now in `prelude`
12+
* `LangID` now in `class_prelude`
1213

1314
### Changed
1415
* Updated documentation, including example code

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ pub mod prelude {
187187
pub use crate::device::{
188188
StringDescriptors, UsbDevice, UsbDeviceBuilder, UsbDeviceState, UsbVidPid,
189189
};
190+
pub use crate::device_builder::BuilderError;
190191
pub use crate::LangID;
191192
pub use crate::UsbError;
192193
}

0 commit comments

Comments
 (0)