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.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/expr/lookup.rs b/src/expr/lookup.rs
index fa12197..a0cc021 100644
--- a/src/expr/lookup.rs
+++ b/src/expr/lookup.rs
@@ -11,8 +11,7 @@ pub struct Lookup {
}
impl Lookup {
- /// Creates a new lookup entry.
- /// May return None if the set have no name.
+ /// Creates a new lookup entry. May return None if the set has no name.
pub fn new<K>(set: &Set<K>) -> Option<Self> {
set.get_name().map(|set_name| Lookup {
set_name: set_name.to_owned(),