Skip to content

Commit

Permalink
Fix rust-analyzer for 16-bit fmt width and precision.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Feb 20, 2025
1 parent ee6d703 commit b61458a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub enum FormatAlignment {
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum FormatCount {
/// `{:5}` or `{:.5}`
Literal(usize),
Literal(u16),
/// `{:.*}`, `{:.5$}`, or `{:a$}`, etc.
Argument(FormatArgPosition),
}
Expand Down

0 comments on commit b61458a

Please sign in to comment.