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 7
7
8
8
use crate :: clean:: PrimitiveType ;
9
9
use crate :: html:: escape:: Escape ;
10
- use crate :: html:: render:: Context ;
10
+ use crate :: html:: render:: { Context , LinkFromSrc } ;
11
11
12
12
use std:: collections:: VecDeque ;
13
13
use std:: fmt:: { Display , Write } ;
14
14
15
15
use rustc_data_structures:: fx:: FxHashMap ;
16
- use rustc_lexer:: Cursor ;
17
- use rustc_lexer:: { LiteralKind , TokenKind } ;
16
+ use rustc_lexer:: { Cursor , LiteralKind , TokenKind } ;
18
17
use rustc_span:: edition:: Edition ;
19
18
use rustc_span:: symbol:: Symbol ;
20
19
use rustc_span:: { BytePos , Span , DUMMY_SP } ;
21
20
22
21
use super :: format:: { self , Buffer } ;
23
- use super :: render:: LinkFromSrc ;
24
22
25
23
/// This type is needed in case we want to render links on items to allow to go to their definition.
26
24
pub ( crate ) struct HrefContext < ' a , ' b , ' c > {
You can’t perform that action at this time.
0 commit comments