Skip to content

Commit 59ec982

Browse files
committed
Regenerate files
1 parent 24e0d51 commit 59ec982

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2751,7 +2751,7 @@ fn field_props(field: &str, ty: &str, doc: &[&str], default: &str) -> serde_json
27512751
"FxHashMap<String, String>" => set! {
27522752
"type": "object",
27532753
},
2754-
"FxHashMap<Box<str>, usize>" => set! {
2754+
"FxHashMap<Box<str>, u16>" => set! {
27552755
"type": "object",
27562756
},
27572757
"FxHashMap<String, Option<String>>" => set! {
@@ -2761,6 +2761,11 @@ fn field_props(field: &str, ty: &str, doc: &[&str], default: &str) -> serde_json
27612761
"type": ["null", "integer"],
27622762
"minimum": 0,
27632763
},
2764+
"Option<u16>" => set! {
2765+
"type": ["null", "integer"],
2766+
"minimum": 0,
2767+
"maximum": 65535,
2768+
},
27642769
"Option<String>" => set! {
27652770
"type": ["null", "string"],
27662771
},

src/tools/rust-analyzer/editors/code/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2252,7 +2252,8 @@
22522252
"null",
22532253
"integer"
22542254
],
2255-
"minimum": 0
2255+
"minimum": 0,
2256+
"maximum": 65535
22562257
}
22572258
}
22582259
},

0 commit comments

Comments
 (0)