Fix rust-analyzer for 16-bit fmt width and precision.

This commit is contained in:
Mara Bos 2025-02-12 18:17:28 +01:00
parent 5785c1d066
commit 70e1d84a26

View file

@ -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),
}