Migration implementation (part 1)

This commit is contained in:
mdecimus
2025-12-10 19:13:04 +01:00
parent efd1d86ff3
commit f1fe0345ef
86 changed files with 2553 additions and 356 deletions

View File

@@ -332,7 +332,9 @@ impl DeserializeFrom for Keyword {
for _ in 0..len {
keyword.push(*bytes.next()?);
}
Some(Keyword::Other(String::from_utf8(keyword).ok()?))
Some(Keyword::Other(
String::from_utf8(keyword).ok()?.into_boxed_str(),
))
}
}
}