diff --git a/docs/_docs/reference/other-new-features/opaques.md b/docs/_docs/reference/other-new-features/opaques.md index 567b51098016..823427282f04 100644 --- a/docs/_docs/reference/other-new-features/opaques.md +++ b/docs/_docs/reference/other-new-features/opaques.md @@ -73,7 +73,7 @@ object Access: extension (x: PermissionChoice) def | (y: PermissionChoice): PermissionChoice = x | y extension (x: Permissions) - def & (y: Permissions): Permissions = x | y + def & (y: Permissions): Permissions = x & y extension (granted: Permissions) def is(required: Permissions) = (granted & required) == required def isOneOf(required: PermissionChoice) = (granted & required) != 0