File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,6 @@ fn try_resolve_intra(
159
159
link_text : & str ,
160
160
link_target : & str ,
161
161
) -> Option < ( String , String ) > {
162
- eprintln ! ( "resolving intra" ) ;
163
-
164
162
// Set link_target for implied shortlinks
165
163
let link_target =
166
164
if link_target. is_empty ( ) { link_text. trim_matches ( '`' ) } else { link_target } ;
@@ -175,7 +173,7 @@ fn try_resolve_intra(
175
173
let path = Path :: parse ( link_target) . ok ( ) ?;
176
174
let modpath = ModPath :: from_src ( path, & Hygiene :: new_unhygienic ( ) ) . unwrap ( ) ;
177
175
178
- // Resolve it relative to symbol's location (according to the RFC this should consider small scopes
176
+ // Resolve it relative to symbol's location (according to the RFC this should consider small scopes)
179
177
let resolver = definition. resolver ( db) ?;
180
178
181
179
let resolved = resolver. resolve_module_path_in_items ( db, & modpath) ;
@@ -219,8 +217,6 @@ fn try_resolve_intra(
219
217
220
218
/// Try to resolve path to local documentation via path-based links (i.e. `../gateway/struct.Shard.html`).
221
219
fn try_resolve_path ( db : & RootDatabase , definition : & Definition , link : & str ) -> Option < String > {
222
- eprintln ! ( "resolving path" ) ;
223
-
224
220
if !link. contains ( "#" ) && !link. contains ( ".html" ) {
225
221
return None ;
226
222
}
You can’t perform that action at this time.
0 commit comments