Fix rust-analyzer for 16-bit fmt width and precision.
This commit is contained in:
parent
4374d5461e
commit
ce512c2e4d
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue