Skip to content

Documentation mismatch for WaitTimeoutResult::timed_out #110045

Closed
@wyf18

Description

@wyf18

Location

Standard library documentation for WaitTimeoutResult::timed_out
(https://doc.rust-lang.org/std/sync/struct.WaitTimeoutResult.html#method.timed_out)

Summary

The example of the document does not mention the timed_out method, it is not clear how to use it.

Metadata

Metadata

Assignees

Labels

A-atomicArea: Atomics, barriers, and sync primitivesA-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions