summaryrefslogtreecommitdiffstats
path: root/vendor/unicode-bidi/src/deprecated.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/unicode-bidi/src/deprecated.rs')
-rw-r--r--vendor/unicode-bidi/src/deprecated.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/unicode-bidi/src/deprecated.rs b/vendor/unicode-bidi/src/deprecated.rs
index ec3b84f67..74a24f5b8 100644
--- a/vendor/unicode-bidi/src/deprecated.rs
+++ b/vendor/unicode-bidi/src/deprecated.rs
@@ -46,8 +46,8 @@ pub fn visual_runs(line: Range<usize>, levels: &[Level]) -> Vec<LevelRun> {
start = i;
run_level = new_level;
- min_level = min(run_level, min_level);
- max_level = max(run_level, max_level);
+ min_level = cmp::min(run_level, min_level);
+ max_level = cmp::max(run_level, max_level);
}
}
runs.push(start..line.end);