@@ -2976,7 +2976,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
29762976 corrections. push ( ( import. span , format ! ( "{module_name}::{import_snippet}" ) ) ) ;
29772977 } else {
29782978 // Find the binding span (and any trailing commas and spaces).
2979- // ie . `use a::b::{c, d, e};`
2979+ // i.e . `use a::b::{c, d, e};`
29802980 // ^^^
29812981 let ( found_closing_brace, binding_span) = find_span_of_binding_until_next_binding (
29822982 self . tcx . sess ,
@@ -2988,11 +2988,11 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
29882988 let mut removal_span = binding_span;
29892989
29902990 // If the binding span ended with a closing brace, as in the below example:
2991- // ie . `use a::b::{c, d};`
2991+ // i.e . `use a::b::{c, d};`
29922992 // ^
29932993 // Then expand the span of characters to remove to include the previous
29942994 // binding's trailing comma.
2995- // ie . `use a::b::{c, d};`
2995+ // i.e . `use a::b::{c, d};`
29962996 // ^^^
29972997 if found_closing_brace
29982998 && let Some ( previous_span) =
@@ -3008,7 +3008,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
30083008
30093009 // Find the span after the crate name and if it has nested imports immediately
30103010 // after the crate name already.
3011- // ie . `use a::b::{c, d};`
3011+ // i.e . `use a::b::{c, d};`
30123012 // ^^^^^^^^^
30133013 // or `use a::{b, c, d}};`
30143014 // ^^^^^^^^^^^
@@ -3172,16 +3172,16 @@ fn find_span_of_binding_until_next_binding(
31723172 let source_map = sess. source_map ( ) ;
31733173
31743174 // Find the span of everything after the binding.
3175- // ie . `a, e};` or `a};`
3175+ // i.e . `a, e};` or `a};`
31763176 let binding_until_end = binding_span. with_hi ( use_span. hi ( ) ) ;
31773177
31783178 // Find everything after the binding but not including the binding.
3179- // ie . `, e};` or `};`
3179+ // i.e . `, e};` or `};`
31803180 let after_binding_until_end = binding_until_end. with_lo ( binding_span. hi ( ) ) ;
31813181
31823182 // Keep characters in the span until we encounter something that isn't a comma or
31833183 // whitespace.
3184- // ie . `, ` or ``.
3184+ // i.e . `, ` or ``.
31853185 //
31863186 // Also note whether a closing brace character was encountered. If there
31873187 // was, then later go backwards to remove any trailing commas that are left.
@@ -3195,7 +3195,7 @@ fn find_span_of_binding_until_next_binding(
31953195 } ) ;
31963196
31973197 // Combine the two spans.
3198- // ie . `a, ` or `a`.
3198+ // i.e . `a, ` or `a`.
31993199 //
32003200 // Removing these would leave `issue_52891::{d, e};` or `issue_52891::{d, e, };`
32013201 let span = binding_span. with_hi ( after_binding_until_next_binding. hi ( ) ) ;
@@ -3219,7 +3219,7 @@ fn extend_span_to_previous_binding(sess: &Session, binding_span: Span) -> Option
32193219 let source_map = sess. source_map ( ) ;
32203220
32213221 // `prev_source` will contain all of the source that came before the span.
3222- // Then split based on a command and take the first (ie . closest to our span)
3222+ // Then split based on a command and take the first (i.e . closest to our span)
32233223 // snippet. In the example, this is a space.
32243224 let prev_source = source_map. span_to_prev_source ( binding_span) . ok ( ) ?;
32253225
0 commit comments