Skip to content

diffguard-lsp/text.rs:88: byte_offset_atposition missing #[must_use] #581

@EffortlessSteven

Description

@EffortlessSteven

Location:

Problem: returns a value that callers must act on, but the attribute is missing. If the return value is accidentally discarded, bugs are silent.

Fix: Add to the function signature.

Clippy: lint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions