Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-runkle committed Sep 25, 2024
1 parent 1b886c4 commit 06262e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/validators/literal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ pub struct LiteralLookup<T: Debug> {
// Catch all for unhashable types like list
expected_py_values: Option<Vec<(Py<PyAny>, usize)>>,
// Fallback for ints, bools, and strings to use Python hash and equality checks
// which we can't mix with `expected_py_dict`, see tests/test_validators/test_literal.py::test_mix_int_enum_with_int
// which we can't mix with `expected_py_dict`, as there may be conflicts
// for an example, see tests/test_validators/test_literal.py::test_mix_int_enum_with_int
expected_py_primitives: Option<Py<PyDict>>,

pub values: Vec<T>,
Expand Down

0 comments on commit 06262e8

Please sign in to comment.