Skip to content

Commit

Permalink
Update stdlib/Printf/src/Printf.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com>
  • Loading branch information
stevengj and fredrikekre committed Jun 9, 2021
1 parent 53c9dc2 commit 6c47b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Printf/src/Printf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -873,13 +873,13 @@ Inf Inf NaN NaN
julia> @printf "%.0f %.1f %f" 0.5 0.025 -0.0078125
0 0.0 -0.007812
```
!!! compat "Julia 1.7"
Starting in Julia 1.7, `%s` (string) and `%c` (character) widths are computed
using [`textwidth`](@ref), which e.g. ignores zero-width characters
(such as combining characters for diacritical marks) and treats certain
"wide" characters (e.g. emoji) as width `2`.
```
"""
macro printf(io_or_fmt, args...)
if io_or_fmt isa String
Expand Down

0 comments on commit 6c47b15

Please sign in to comment.