From 063297d7e33aaade96c17da397919e123d623115 Mon Sep 17 00:00:00 2001 From: Guilherme Stabach Salustiano Date: Wed, 2 Oct 2024 23:21:00 -0300 Subject: [PATCH] test goal --- diesel/src/pg/expression/expression_methods.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/diesel/src/pg/expression/expression_methods.rs b/diesel/src/pg/expression/expression_methods.rs index 32e997f160f2..f23ad3c98737 100644 --- a/diesel/src/pg/expression/expression_methods.rs +++ b/diesel/src/pg/expression/expression_methods.rs @@ -874,6 +874,8 @@ pub trait PgRangeExpressionMethods: Expression + Sized { /// .filter(age.contains(20)) /// .load::(conn)?; /// assert!(amazing_posts.is_empty()); + /// + /// diesel::select((1..5).contains(4)).load::(conn).unwrap(); /// # Ok(()) /// # } /// ```