Fix computation of the type path position in a record field
@@ -140,8 +140,8 @@ pub mod ty_path {
}
}
(AbsType::StaticRecord(rows), Some(Elem::Field(ident))) => {
- // initial "{ {| "
- let mut start_offset = 5;
+ // initial "{"
+ let mut start_offset = 1;
// middle ": " between the field name and the type
let id_offset = 2;
// The ", " between two fields
