File tree Expand file tree Collapse file tree 3 files changed +14
-13
lines changed
src/tools/rust-analyzer/editors/code/src Expand file tree Collapse file tree 3 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -348,9 +348,9 @@ class ExperimentalFeatures implements lc.StaticFeature {
348348 initialize (
349349 _capabilities : lc . ServerCapabilities ,
350350 _documentSelector : lc . DocumentSelector | undefined ,
351- ) : void { }
352- dispose ( ) : void { }
353- clear ( ) : void { }
351+ ) : void { }
352+ dispose ( ) : void { }
353+ clear ( ) : void { }
354354}
355355
356356class OverrideFeatures implements lc . StaticFeature {
@@ -368,9 +368,9 @@ class OverrideFeatures implements lc.StaticFeature {
368368 initialize (
369369 _capabilities : lc . ServerCapabilities ,
370370 _documentSelector : lc . DocumentSelector | undefined ,
371- ) : void { }
372- dispose ( ) : void { }
373- clear ( ) : void { }
371+ ) : void { }
372+ dispose ( ) : void { }
373+ clear ( ) : void { }
374374}
375375
376376function isCodeActionWithoutEditsAndCommands ( value : any ) : boolean {
@@ -398,8 +398,9 @@ export let HOVER_REFERENCE_COMMAND: ra.CommandLink[] = [];
398398
399399function renderCommand ( cmd : ra . CommandLink ) : string {
400400 HOVER_REFERENCE_COMMAND . push ( cmd ) ;
401- return `[${ cmd . title } ](command:rust-analyzer.hoverRefCommandProxy?${ HOVER_REFERENCE_COMMAND . length - 1
402- } '${ cmd . tooltip } ')`;
401+ return `[${ cmd . title } ](command:rust-analyzer.hoverRefCommandProxy?${
402+ HOVER_REFERENCE_COMMAND . length - 1
403+ } '${ cmd . tooltip } ')`;
403404}
404405
405406function renderHoverActions ( actions : ra . CommandLinkGroup [ ] ) : vscode . MarkdownString {
Original file line number Diff line number Diff line change @@ -1145,7 +1145,7 @@ function isUpdatingTest(runnable: ra.Runnable): boolean {
11451145 }
11461146
11471147 const env = runnable . args . environment ;
1148- return env ? [ ' UPDATE_EXPECT' , ' INSTA_UPDATE' , ' SNAPSHOTS' ] . some ( key => key in env ) : false ;
1148+ return env ? [ " UPDATE_EXPECT" , " INSTA_UPDATE" , " SNAPSHOTS" ] . some ( ( key ) => key in env ) : false ;
11491149}
11501150
11511151export function runSingle ( ctx : CtxInit ) : Cmd {
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ function createCommands(): Record<string, CommandFactory> {
148148 health : "stopped" ,
149149 } ) ;
150150 } ,
151- disabled : ( _ ) => async ( ) => { } ,
151+ disabled : ( _ ) => async ( ) => { } ,
152152 } ,
153153
154154 analyzerStatus : { enabled : commands . analyzerStatus } ,
@@ -207,10 +207,10 @@ function checkConflictingExtensions() {
207207 vscode . window
208208 . showWarningMessage (
209209 `You have both the rust-analyzer (rust-lang.rust-analyzer) and Rust (rust-lang.rust) ` +
210- "plugins enabled. These are known to conflict and cause various functions of " +
211- "both plugins to not work correctly. You should disable one of them." ,
210+ "plugins enabled. These are known to conflict and cause various functions of " +
211+ "both plugins to not work correctly. You should disable one of them." ,
212212 "Got it" ,
213213 )
214- . then ( ( ) => { } , console . error ) ;
214+ . then ( ( ) => { } , console . error ) ;
215215 }
216216}
You can’t perform that action at this time.
0 commit comments