Skip to content

Commit 2633dc4

Browse files
authored
Merge pull request #10976 from BananaPlantain/patch-1
Update opaques.md
2 parents f6aa8f8 + c47cba6 commit 2633dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/other-new-features/opaques.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ object Access:
7070
opaque type Permission <: Permissions & PermissionChoice = Int
7171

7272
extension (x: Permissions)
73-
def & (y: Permissions): Permissions = x | y
73+
def & (y: Permissions): Permissions = x & y
7474
extension (x: PermissionChoice)
7575
def | (y: PermissionChoice): PermissionChoice = x | y
7676
extension (granted: Permissions)

0 commit comments

Comments
 (0)