Skip to content

Conversation

@bf
Copy link

@bf bf commented Nov 29, 2024

Example code was not runnable due to lack of dependencies.

  • Added includes
  • Wrapped into fn main() { } to ensure it can be copy-pasted

Fixes #6

Example code was not runnable due to lack of dependencies.

- Added includes
- Wrapped into `fn main() { }` to ensure it can be copy-pasted
@djugei
Copy link
Owner

djugei commented Dec 29, 2024

Hey, thanks for the PR, but the readme is auto-generated from lib.rs (which includes the includes etc)
therefore if this is to be merged it needs to be changed in lib.rs and done in a way that is compatible with both places, specifically it needs to allow rustdoc/doctests to run.

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.

Example is missing includes

2 participants