Skip to content

Commit

Permalink
fix compat doc
Browse files Browse the repository at this point in the history
#41085 was not released in Julia 1.7, and only appears in Julia 1.8.
  • Loading branch information
stevengj committed Jan 6, 2022
1 parent 2d472c6 commit 77d3d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/Printf/src/Printf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,8 @@ 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
!!! compat "Julia 1.8"
Starting in Julia 1.8, `%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`.
Expand Down

0 comments on commit 77d3d30

Please sign in to comment.