Skip to content

Refine LockGuard docs #8

@yonip23

Description

@yonip23

The docs on LockGuard states that its similar to MutexGuard's behacior, and this is a bit misleading, because MutexGuard holds the actual data such that it cant be accessed without the guard.
LockGuard is different from MutexGuard in that sense - there's no limitation on any data access enforced by this guard.
They are similar only in the aspect of Drop, in which they both release the lock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions