diff options
Diffstat (limited to 'components/script/xpath/eval_function.rs')
-rw-r--r-- | components/script/xpath/eval_function.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/xpath/eval_function.rs b/components/script/xpath/eval_function.rs index dbf77c503ea..dce7f4d9ba8 100644 --- a/components/script/xpath/eval_function.rs +++ b/components/script/xpath/eval_function.rs @@ -75,7 +75,7 @@ fn substring(s: &str, start_idx: isize, len: Option<isize>) -> String { } /// <https://www.w3.org/TR/1999/REC-xpath-19991116/#function-normalize-space> -pub fn normalize_space(s: &str) -> String { +pub(crate) fn normalize_space(s: &str) -> String { let mut result = String::with_capacity(s.len()); let mut last_was_whitespace = true; // Handles leading whitespace |