Skip to content

Commit

Permalink
fix after merge
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 3, 2025
1 parent 462ce86 commit 3014876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/src/builtin/string_literal.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ struct StringLiteral(
"""
return self.__str__()

fn __iter__(ref self) -> _StringSliceIter[__origin_of(self)]:
fn __iter__(self) -> _StringSliceIter[StaticConstantOrigin]:
"""Iterate over the string unicode characters.
Returns:
Expand All @@ -449,7 +449,7 @@ struct StringLiteral(
ptr=self.unsafe_ptr(), length=self.byte_length()
)

fn __reversed__(ref self) -> _StringSliceIter[__origin_of(self), False]:
fn __reversed__(self) -> _StringSliceIter[StaticConstantOrigin, False]:
"""Iterate backwards over the string unicode characters.
Returns:
Expand Down

0 comments on commit 3014876

Please sign in to comment.