Skip to content

Commit

Permalink
fix silly mistake
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 25, 2025
1 parent 5bf9e51 commit 2aa4b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/src/builtin/string_literal.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ struct StringLiteral(
"""
return self.as_string_slice().split(sep)

fn splitlines(self, keepends: Bool = False) -> List[StaticString]:
fn splitlines(self, keepends: Bool = False) -> List[String]:
"""Split the string literal at line boundaries. This corresponds to Python's
[universal newlines:](
https://docs.python.org/3/library/stdtypes.html#str.splitlines)
Expand Down

0 comments on commit 2aa4b2c

Please sign in to comment.