Skip to content

Clarify handling scores greater than 255 in allergies #2045

Open
@asarkar

Description

@asarkar

I found several closed tickets related to this after my code failed the last test. The following comment is anything but clear. The first thought is to take a modulo, but the test expects a bitwise-AND operation.

For example, if the allergy score is 257, your program should only report the eggs (1) allergy.

Please add some explanation as to why, may be something like this comment.

#224
#389
exercism/rust#209

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