Skip to content

Commit

Permalink
fix detail
Browse files Browse the repository at this point in the history
Signed-off-by: martinvuyk <[email protected]>
  • Loading branch information
martinvuyk committed Dec 9, 2024
1 parent e3a9a6c commit 6ffd02c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/src/memory/span.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ struct _SpanSIMDIter[
has_a_10 |= any(v == 10)
for s in iterator:
has_a_10 |= s == 10
has_a_10 |= s[] == 10
print(has_a_10) # True
```
Expand Down Expand Up @@ -173,7 +173,7 @@ struct _SpanIter[
has_a_10 |= any(v == 10)
for s in iterator:
has_a_10 |= s == 10
has_a_10 |= s[] == 10
print(has_a_10) # True
```
Expand Down

0 comments on commit 6ffd02c

Please sign in to comment.