Skip to content

Conversation

@swsch
Copy link
Contributor

@swsch swsch commented Apr 4, 2025

fix typos mentioned in #14397

fix typos mentioned in #14397
Copy link
Contributor

@sabiwara sabiwara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @swsch! 💜
Just a minor suggestion.

* if `line_or_chars` is `:line`, the device is iterated line by line.
CRFL newlines ("\r\n") are automatically normalized to "\n".
CRLF newlines ("\\r\\n") are automatically normalized to "\\n".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is often achieved by using the ~S sigil rather than manually escaping (you can see we have a lot of @doc ~S in the codebase).

@sabiwara sabiwara changed the title Update io.ex Fix typos in IO documentation Apr 5, 2025
@josevalim josevalim merged commit a93ce08 into elixir-lang:main Apr 5, 2025
10 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants