aboutsummaryrefslogtreecommitdiff
path: root/src/expr/lookup.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/lookup.rs')
-rw-r--r--src/expr/lookup.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/lookup.rs b/src/expr/lookup.rs
index 8e288a0..fa12197 100644
--- a/src/expr/lookup.rs
+++ b/src/expr/lookup.rs
@@ -13,7 +13,7 @@ pub struct Lookup {
impl Lookup {
/// Creates a new lookup entry.
/// May return None if the set have no name.
- pub fn new<K>(set: &Set<'_, K>) -> Option<Self> {
+ pub fn new<K>(set: &Set<K>) -> Option<Self> {
set.get_name().map(|set_name| Lookup {
set_name: set_name.to_owned(),
set_id: set.get_id(),