Skip to content

Commit 6a17a70

Browse files
committed
try println
1 parent 07e47d1 commit 6a17a70

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/docstrings.jl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,8 +760,11 @@ The wrapped string.
760760
761761
Examples
762762
```jldoctest
763-
julia> str_wrap("This is an example text that should be wrapped based on the given width and breaking rules.", width=20, whitespace_only=true)
764-
"This is an example\ntext that should be\nwrapped based on the\ngiven width and\nbreaking rules."
765-
763+
julia> println(str_wrap("This is an example text that should be wrapped based on the given width and breaking rules.", width=20))
764+
This is an example
765+
text that should be
766+
wrapped based on the
767+
given width and
768+
breaking rules.
766769
```
767770
"""

0 commit comments

Comments
 (0)