Skip to content

Commit

Permalink
fix detail
Browse files Browse the repository at this point in the history
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
  • Loading branch information
martinvuyk committed Feb 28, 2025
1 parent a5baa36 commit 20d9fe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mojo/stdlib/src/builtin/range.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,9 @@ fn iter[
T: CollectionElement
](value: Span[T]) -> _SpanIter[
T,
origin,
address_space=address_space,
alignment=alignment,
__type_of(value).origin,
address_space = __type_of(value).address_space,
alignment = __type_of(value).alignment,
]:
"""Return an iterator.
Expand Down
6 changes: 3 additions & 3 deletions mojo/stdlib/src/builtin/reversed.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ fn reversed[
T: CollectionElement
](value: Span[T]) -> _SpanIter[
T,
origin,
__type_of(value).origin,
forward=False,
address_space=address_space,
alignment=alignment,
address_space = __type_of(value).address_space,
alignment = __type_of(value).alignment,
]:
"""Get a reversed iterator of the input Span.
Expand Down

0 comments on commit 20d9fe2

Please sign in to comment.