From 61c64bcb116797843509ec11fdf1d9b476f1ccc9 Mon Sep 17 00:00:00 2001 From: StephLin Date: Sat, 12 Oct 2024 10:29:00 +0000 Subject: [PATCH] Improve panic message --- src/lazy/dataframe.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lazy/dataframe.rs b/src/lazy/dataframe.rs index 873499bc..49089319 100644 --- a/src/lazy/dataframe.rs +++ b/src/lazy/dataframe.rs @@ -308,7 +308,7 @@ impl JsLazyFrame { "forward" => AsofStrategy::Forward, "backward" => AsofStrategy::Backward, "nearest" => AsofStrategy::Nearest, - _ => panic!("expected one of {{'forward', 'backward'}}"), + _ => panic!("expected one of {{'forward', 'backward', 'nearest'}}"), }; let ldf = self.ldf.clone(); let other = other.ldf.clone();