File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -48,22 +48,15 @@ use crate::{
4848} ;
4949
5050pub trait HirWrite : fmt:: Write {
51- fn start_location_link ( & mut self , location : ModuleDefId ) ;
52- fn end_location_link ( & mut self ) ;
51+ fn start_location_link ( & mut self , _location : ModuleDefId ) { }
52+ fn end_location_link ( & mut self ) { }
5353}
5454
5555// String will ignore link metadata
56- impl HirWrite for String {
57- fn start_location_link ( & mut self , _: ModuleDefId ) { }
58-
59- fn end_location_link ( & mut self ) { }
60- }
56+ impl HirWrite for String { }
6157
6258// `core::Formatter` will ignore metadata
63- impl HirWrite for fmt:: Formatter < ' _ > {
64- fn start_location_link ( & mut self , _: ModuleDefId ) { }
65- fn end_location_link ( & mut self ) { }
66- }
59+ impl HirWrite for fmt:: Formatter < ' _ > { }
6760
6861pub struct HirFormatter < ' a > {
6962 pub db : & ' a dyn HirDatabase ,
You can’t perform that action at this time.
0 commit comments