Skip to content

Commit ba7a982

Browse files
nakamuraraikamichaelbull
authored andcommitted
Fix typo in README
1 parent db27396 commit ba7a982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function that may fail.
8888

8989
```kotlin
9090
fun checkPrivileges(user: User, command: Command): Result<Command, CommandError> {
91-
return if (user.rank >= command.mininimumRank) {
91+
return if (user.rank >= command.minimumRank) {
9292
Ok(command)
9393
} else {
9494
Err(CommandError.InsufficientRank(command.name))

0 commit comments

Comments
 (0)