Skip to content

Use descriptive enums instead of booleans for MIMEClassifier::classifer #7382

Closed

Description

@jdm

Enums are self-documenting in a way that true/false in function arguments are not.

Code: components/net/mime_classifier.rs

Activity

  1. added
    E-less-complex
    I-refactor
    on Aug 26, 2015
  2. added 2 commits that reference this issue on Aug 29, 2015
  3. leaexplores commented on Aug 30, 2015

    @leaexplores
    Contributor

    I've attached a PR regarding the refactor.

    Thanks for looking into it.

  4. added
    C-assigned
    on Aug 30, 2015
  5. added 15 commits that reference this issue on Aug 30, 2015
  6. added a commit that references this issue on Sep 18, 2015
  7. added 2 commits that reference this issue on Sep 18, 2015
  8. edunham commented on Sep 21, 2015

    @edunham
    Contributor

    @ddrmanxbxfr Thank you for the PR! Can this issue be closed now?

  9. jdm commented on Sep 21, 2015

    @jdm
    MemberAuthor

    Yep!

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

    A-networkC-assignedE-less-complexI-refactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions