fix(query): elide approx mode parse lifetime

This commit is contained in:
BubbleCal
2026-06-17 13:59:12 +08:00
parent b05b33bfbc
commit 4904dd0f90

View File

@@ -296,7 +296,7 @@ impl From<LanceApproxMode> for ApproxMode {
}
}
impl<'a> TryFrom<&'a str> for ApproxMode {
impl TryFrom<&str> for ApproxMode {
type Error = Error;
fn try_from(value: &str) -> std::prelude::v1::Result<Self, Self::Error> {