From 17b496b38024bbdce1e674678a2bee54d29265a6 Mon Sep 17 00:00:00 2001 From: glendc Date: Fri, 19 Apr 2024 01:09:49 +0200 Subject: [PATCH] fix snippet of 0.4 changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cf29b0..f3d6c70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,7 +30,7 @@ pub struct Value { } fn my_validator_fn(value: &Value) -> bool { - !foo.is_empty() && value.bar > 0 + !value.foo.is_empty() && value.bar > 0 } let mut db = MyDB::default();