Skip to content

Commit

Permalink
Missed two places for previous update
Browse files Browse the repository at this point in the history
  • Loading branch information
NSoiffer committed Feb 24, 2024
1 parent 1fd8c15 commit 36758e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpath_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ impl DefinitionValue {
args.exactly(2)?;
let set_name = args.pop_string()?;
match &args[0] {
Value::String(str) => return match DefinitionValue::is_defined_in(str, &set_name) {
Value::String(str) => return match DefinitionValue::definition_value(str, &set_name) {
Ok(result) => Ok( Value::String( result ) ),
Err(e) => Err(e),
},
Expand All @@ -974,7 +974,7 @@ impl DefinitionValue {
if text.is_empty() {
Ok( Value::String("".to_string()) )
} else {
match DefinitionValue::is_defined_in(&text, &set_name) {
match DefinitionValue::definition_value(&text, &set_name) {
Ok(result) => Ok( Value::String( result ) ),
Err(e) => Err(e),
}
Expand Down

0 comments on commit 36758e0

Please sign in to comment.