We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 669b3bf commit 6a87cb6Copy full SHA for 6a87cb6
docs/book_examples/src/data_md.rs
@@ -21,7 +21,7 @@ struct TodoItem {
21
due_date: Option<Arc<DateTime>>,
22
// You can specify a custom comparison fn
23
// (anything with the signature (&T, &T) -> bool).
24
- #[data(eq)]
+ #[data(same_fn = "PartialEq::eq")]
25
added_date: DateTime,
26
title: String,
27
note: Option<String>,
0 commit comments