Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation to match usb-device 0.3 #51

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

kpcyrd
Copy link
Contributor

@kpcyrd kpcyrd commented Jan 20, 2025

UsbDeviceBuilder has changed slightly, this updates the documentation accordingly. Also it's now possible to run tests:

% cargo test              
   Compiling usbd-serial v0.2.2 (/redacted/usbd-serial)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
     Running unittests src/lib.rs (target/debug/deps/usbd_serial-8f07a6ca69583646)

running 4 tests
test buffer::tests::clear ... ok
test buffer::tests::discard ... ok
test buffer::tests::read ... ok
test buffer::tests::write ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests usbd_serial

running 1 test
test src/lib.rs - (line 16) - compile ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s

Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you!

@eldruin eldruin merged commit b0b589f into rust-embedded-community:master Jan 21, 2025
4 checks passed
@kpcyrd kpcyrd deleted the docs branch January 21, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants