aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/makefile/macro.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/macro.rs b/src/makefile/macro.rs
index 6a456af..f00fdff 100644
--- a/src/makefile/macro.rs
+++ b/src/makefile/macro.rs
@@ -171,7 +171,7 @@ impl<'parent, 'lookup> Set<'parent, 'lookup> {
#[cfg(feature = "full")]
pub fn is_defined(&self, name: &str) -> bool {
- self.data.get(name).map_or(false, |x| !x.text.is_empty())
+ self.get(name).map_or(false, |x| !x.text.is_empty())
}
// `remove` is fine, but I think for "remove-and-return" `pop` is better