@@ -1361,7 +1361,7 @@ impl EmitterWriter {
1361
1361
let mut multilines = FxHashMap :: default ( ) ;
1362
1362
1363
1363
// Get the left-side margin to remove it
1364
- let mut whitespace_margin = std :: usize:: MAX ;
1364
+ let mut whitespace_margin = usize:: MAX ;
1365
1365
for line_idx in 0 ..annotated_file. lines . len ( ) {
1366
1366
let file = annotated_file. file . clone ( ) ;
1367
1367
let line = & annotated_file. lines [ line_idx] ;
@@ -1373,19 +1373,19 @@ impl EmitterWriter {
1373
1373
}
1374
1374
}
1375
1375
}
1376
- if whitespace_margin == std :: usize:: MAX {
1376
+ if whitespace_margin == usize:: MAX {
1377
1377
whitespace_margin = 0 ;
1378
1378
}
1379
1379
1380
1380
// Left-most column any visible span points at.
1381
- let mut span_left_margin = std :: usize:: MAX ;
1381
+ let mut span_left_margin = usize:: MAX ;
1382
1382
for line in & annotated_file. lines {
1383
1383
for ann in & line. annotations {
1384
1384
span_left_margin = min ( span_left_margin, ann. start_col ) ;
1385
1385
span_left_margin = min ( span_left_margin, ann. end_col ) ;
1386
1386
}
1387
1387
}
1388
- if span_left_margin == std :: usize:: MAX {
1388
+ if span_left_margin == usize:: MAX {
1389
1389
span_left_margin = 0 ;
1390
1390
}
1391
1391
@@ -1421,7 +1421,7 @@ impl EmitterWriter {
1421
1421
} else {
1422
1422
termize:: dimensions ( )
1423
1423
. map ( |( w, _) | w. saturating_sub ( code_offset) )
1424
- . unwrap_or ( std :: usize:: MAX )
1424
+ . unwrap_or ( usize:: MAX )
1425
1425
} ;
1426
1426
1427
1427
let margin = Margin :: new (
0 commit comments