Skip to content

Commit

Permalink
chore: better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tejmagar committed Jun 13, 2024
1 parent 5598019 commit d138bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/forms/fields/input_field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ impl<T: FromAny + Sync + Send + 'static> AbstractFields for InputField<T> {
*result_lock = Some(Box::new(value_t.unwrap()));
} else {
// Above conditions are satisfied however there are no values stored.
// Probably Optional type.
// Probably Optional type without default value.
let value_t = T::from_vec(&mut vec![]);
*result_lock = Some(Box::new(value_t.unwrap()));
}
Expand Down

0 comments on commit d138bb0

Please sign in to comment.