Skip to content

Commit c3d70e8

Browse files
authored
Update Printf.jl reference link (#50029)
The old link described %g inaccurately. The new one is better (tho it mentions %n, which we don't support).
1 parent f4a264a commit c3d70e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Printf/src/Printf.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ Use shorter of decimal or scientific 1.23 1.23e+07
975975
julia> @printf "Use dynamic width and precision %*.*f" 10 2 0.12345
976976
Use dynamic width and precision 0.12
977977
```
978-
For a systematic specification of the format, see [here](https://www.cplusplus.com/reference/cstdio/printf/).
978+
For a systematic specification of the format, see [here](https://en.cppreference.com/w/c/io/fprintf).
979979
See also [`@sprintf`](@ref) to get the result as a `String` instead of it being printed.
980980
981981
# Caveats

0 commit comments

Comments
 (0)