File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 77
88use crate :: clean:: PrimitiveType ;
99use crate :: html:: escape:: Escape ;
10- use crate :: html:: render:: Context ;
10+ use crate :: html:: render:: { Context , LinkFromSrc } ;
1111
1212use std:: collections:: VecDeque ;
1313use std:: fmt:: { Display , Write } ;
1414
1515use rustc_data_structures:: fx:: FxHashMap ;
16- use rustc_lexer:: Cursor ;
17- use rustc_lexer:: { LiteralKind , TokenKind } ;
16+ use rustc_lexer:: { Cursor , LiteralKind , TokenKind } ;
1817use rustc_span:: edition:: Edition ;
1918use rustc_span:: symbol:: Symbol ;
2019use rustc_span:: { BytePos , Span , DUMMY_SP } ;
2120
2221use super :: format:: { self , Buffer } ;
23- use super :: render:: LinkFromSrc ;
2422
2523/// This type is needed in case we want to render links on items to allow to go to their definition.
2624pub ( crate ) struct HrefContext < ' a , ' b , ' c > {
You can’t perform that action at this time.
0 commit comments