Skip to content

Fix: sync::OnceCell::try_insert docs should import sync variant#292

Merged
matklad merged 1 commit intomatklad:masterfrom
phil-opp:doc-fix
Mar 10, 2026
Merged

Fix: sync::OnceCell::try_insert docs should import sync variant#292
matklad merged 1 commit intomatklad:masterfrom
phil-opp:doc-fix

Conversation

@phil-opp
Copy link
Contributor

@phil-opp phil-opp commented Oct 9, 2025

The doc example (i.e. doctest) imported the unsync variant of OnceCell.

The doc example (i.e. doctest) imported the `unsync` variant of `OnceCell`.
@matklad matklad merged commit 232a1a4 into matklad:master Mar 10, 2026
1 check 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