Skip to content

Commit

Permalink
remove implicit construction
Browse files Browse the repository at this point in the history
Signed-off-by: martinvuyk <[email protected]>
  • Loading branch information
martinvuyk committed Jan 9, 2025
1 parent 55eab18 commit cc71825
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion stdlib/src/collections/string/string.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,6 @@ struct String(
# ===------------------------------------------------------------------=== #

@always_inline
@implicit
fn __init__(out self, owned buffer: List[Byte, *_]):
"""Construct a string from a buffer of null-terminated bytes, copying
the allocated data. Use the transfer operator `^` to avoid the copy.
Expand Down

0 comments on commit cc71825

Please sign in to comment.