Skip to content

Client.sample_rate() returns wrong type #223

Description

@worikgh

Client.sample_rate() returns a usize

usize is for memory addresses. Indexing arrays and the like. It is related to the platform's pointer size, so could be 32 or 64 bits (or something else?)

The correct type would be u32 which is 32 bits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions