Skip to content

Convert Rust code in README to 2018-edition code#163

Open
wiktor-k wants to merge 2 commits intoDrakulix:masterfrom
wiktor-k:wiktor-k/convert-macro-use
Open

Convert Rust code in README to 2018-edition code#163
wiktor-k wants to merge 2 commits intoDrakulix:masterfrom
wiktor-k:wiktor-k/convert-macro-use

Conversation

@wiktor-k
Copy link

@wiktor-k wiktor-k commented May 14, 2025

This is just a tiny fix to the documentation.

See: https://doc.rust-lang.org/edition-guide/rust-2018/path-changes.html#macros

Have a nice day! 👋

wiktor-k added 2 commits May 14, 2025 12:08
Since edition 2018 the `extern crate` are not needed to import macros.

See: https://doc.rust-lang.org/edition-guide/rust-2018/path-changes.html#macros
Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
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.

1 participant