mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 12:59:12 +00:00
Fix rust-analyzer for 16-bit fmt width and precision.
This commit is contained in:
parent
5785c1d066
commit
70e1d84a26
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