Skip to content

Commit

Permalink
Improve panic message
Browse files Browse the repository at this point in the history
  • Loading branch information
StephLin committed Oct 12, 2024
1 parent 4d6abd7 commit 61c64bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lazy/dataframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 61c64bc

Please sign in to comment.