Skip to content

docs: Switch to thread::scope() for example#92

Merged
Amanieu merged 1 commit intoAmanieu:masterfrom
polarathene:docs/use-thread-scope-example
Feb 18, 2026
Merged

docs: Switch to thread::scope() for example#92
Amanieu merged 1 commit intoAmanieu:masterfrom
polarathene:docs/use-thread-scope-example

Conversation

@polarathene
Copy link
Copy Markdown
Contributor

This updates the docs example to use thread::scope() (_valid from Rust 1.63.0 _), replacing the need for Arc, providing a better DX.

Originally this was contributed by @hniksic at #64 , but it was interleaved with other changes that have since been merged in via alternative PRs.

@Amanieu Amanieu merged commit 2ed6865 into Amanieu:master Feb 18, 2026
3 checks passed
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