Skip to content

Commit

Permalink
[Printf] mark format and Format with public keyword (#51797)
Browse files Browse the repository at this point in the history
followup to #51723 to prevent
```julia
  │ Warning
  │
  │  The following bindings may be internal; they may change or be removed in future versions:
  │
  │    •  Printf.Format
```
  • Loading branch information
ericphanson committed Oct 24, 2023
1 parent 9352d9e commit 0907858
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/Printf/src/Printf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ using Base.Ryu

export @printf, @sprintf

public format, Format

# format specifier categories
const Ints = Union{Val{'d'}, Val{'i'}, Val{'u'}, Val{'x'}, Val{'X'}, Val{'o'}}
const Floats = Union{Val{'e'}, Val{'E'}, Val{'f'}, Val{'F'}, Val{'g'}, Val{'G'}, Val{'a'}, Val{'A'}}
Expand Down

0 comments on commit 0907858

Please sign in to comment.