Skip to content

Commit

Permalink
Amend qmark ref in comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
MylesBartlett committed Jul 24, 2024
1 parent c013b23 commit f3d6eed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions serox/option.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def or_else(self: Option[T], f: Fn0[Option[T]], /) -> Option[T]:
case Null():
return f()

# Property emulative of Rust's ? operator when
# used in conjunction with [`as_option`].
# Property emulative of Rust's `?` operator when
# used in conjunction with [`serox::question_mark::qmark`].
@property
def q(self: Option[T]) -> T:
match self:
Expand Down
4 changes: 2 additions & 2 deletions serox/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def __next__(self: Result[T, E]) -> T:
case Err(_):
raise StopIteration

# Property emulative of Rust's ? operator when
# used in conjunction with [`as_result`].
# Property emulative of Rust's `?` operator when
# used in conjunction with [`serox::question_mark::qmark`].
@property
def q(self: Result[T, E]) -> T:
match self:
Expand Down

0 comments on commit f3d6eed

Please sign in to comment.