Skip to content

Commit

Permalink
fix another comment mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Lanham committed Sep 18, 2024
1 parent c27206d commit 8cc6bf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/src/actions/schemas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ pub(crate) trait GetNullableContainerStructField {
fn get_nullable_container_struct_field(name: impl Into<String>) -> StructField;
}

// Normal types produce non-nullable fields
// Normal types produce non-nullable fields, but in this case the container they reference has
// nullable values
impl<T: ToNullableContainerType> GetNullableContainerStructField for T {
fn get_nullable_container_struct_field(name: impl Into<String>) -> StructField {
StructField::new(name, T::to_nullable_container_type(), false)
Expand Down

0 comments on commit 8cc6bf1

Please sign in to comment.