Skip to content

Commit fc9f0bc

Browse files
Remove redundant spacing for rust
1 parent 62aff42 commit fc9f0bc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ftplugin/rust.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function! s:DebugStringFunBase(desc, var)
2-
let l:debug_str = 'println!("' . a:desc . ' {}", ' . a:var . ');'
2+
let l:debug_str = 'println!("' . a:desc . '{}", ' . a:var . ');'
33
return l:debug_str
44
endfunc
55

test/ft/a.rust

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
println!("[[Vader-workbench]:$1$] DEBUGGING STRING ==> {}", $2$);
2-
println!("a**2 + b**2: {}", a**2 + b**2);
1+
println!("[[Vader-workbench]:$1$] DEBUGGING STRING ==> {}", $2$);
2+
println!("a**2 + b**2: {}", a**2 + b**2);

0 commit comments

Comments
 (0)