Update mod.rs

Co-authored-by: Gino Valente <49806985+MrGVSV@users.noreply.github.com>
This commit is contained in:
MevLyshkin 2025-06-07 19:37:53 +02:00 committed by GitHub
parent 671c3b6828
commit b84e878ab2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,7 @@ impl SchemaTypesMetadata {
self.has_data_type_by_id(TypeId::of::<T>(), types_string_slice)
}
/// checks if slice contains string value that matches checked `TypeData` by id.
/// Checks if slice contains string value that matches checked `TypeData` by id.
pub fn has_data_type_by_id(&self, id: TypeId, types_string_slice: &[String]) -> bool {
self.data_types
.get(&id)