We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
StringType
RecordKeyType
1 parent 7b78f41 commit dd7b5eeCopy full SHA for dd7b5ee
crates/webidl/src/idl_type.rs
@@ -263,12 +263,13 @@ impl<'a> ToIdlType<'a> for RecordType<'a> {
263
}
264
265
266
-impl<'a> ToIdlType<'a> for StringType {
+impl<'a> ToIdlType<'a> for RecordKeyType<'a> {
267
fn to_idl_type(&self, record: &FirstPassRecord<'a>) -> IdlType<'a> {
268
match self {
269
- StringType::Byte(t) => t.to_idl_type(record),
270
- StringType::DOM(t) => t.to_idl_type(record),
271
- StringType::USV(t) => t.to_idl_type(record),
+ RecordKeyType::Byte(t) => t.to_idl_type(record),
+ RecordKeyType::DOM(t) => t.to_idl_type(record),
+ RecordKeyType::USV(t) => t.to_idl_type(record),
272
+ RecordKeyType::NonAny(t) => t.to_idl_type(record)
273
274
275
0 commit comments