Skip to content

diffguard-domain: Language::comment_syntax() missing #[must_use] #596

@EffortlessSteven

Description

@EffortlessSteven

Location:

Problem: is a public method returning with no attribute. Callers who discard the return value silently get (the default) instead of the correct syntax.

Clippy confirms:

Note: (line 88) has the same issue — also missing . See issue #580 for the analytics batch; these two domain methods were not covered.

Fix: Add to both and methods.

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