Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
Signed-off-by: martinvuyk <[email protected]>
  • Loading branch information
martinvuyk committed Dec 16, 2024
1 parent cf816be commit 391ffb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stdlib/src/bit/mask.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,12 @@ struct BitMask:
return abort[__type_of(lhs)]()

@staticmethod
fn compare[D: DType, //, comp: Int](lhs: Int, rhs: Int) -> Int:
fn compare[comp: Int](lhs: Int, rhs: Int) -> Int:
"""Get a bitmask of the comparison between the two values.
Parameters:
comp: The comparison operator, e.g. `BitMask.EQ`.
Args:
lhs: The value to check.
rhs: The value to check.
Expand Down

0 comments on commit 391ffb4

Please sign in to comment.