Skip to content

Commit

Permalink
fix after merge
Browse files Browse the repository at this point in the history
Signed-off-by: martinvuyk <[email protected]>
  • Loading branch information
martinvuyk committed Feb 3, 2025
1 parent df753dc commit 0870a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stdlib/src/builtin/range.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ fn iter[
V: CollectionElement,
](
ref [_]value: _DictEntryIter[K, V, *_],
out output: DictEntryIter[K, V, __type_of(value).dict_origin],
out output: _DictEntryIter[K, V, __type_of(value).dict_origin],
):
"""Get an iterator of the input dict items.
Expand Down
2 changes: 1 addition & 1 deletion stdlib/src/collections/string/string.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ struct String(
"""
return self.as_string_slice().chars()

fn char_slices(self) -> _StringSliceIter[__origin_of(self)]:
fn char_slices(ref self) -> _StringSliceIter[__origin_of(self)]:
"""Returns an iterator over single-character slices of this string.
Each returned slice points to a single Unicode codepoint encoded in the
Expand Down

0 comments on commit 0870a2b

Please sign in to comment.