Skip to content

Spell check: a test-only function is public and holds a lock while reading #247

Backlog

Description

@anderix

Speller::dictionary is public but used only by tests, and reads a dictionary from disk while holding the loaded mutex. It should be #[cfg(test)] or removed in favour of testing through read. Found in the final review of the 2026-11 run.

Activity

  1. added
    enhancement
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions