Merge pull request #390 from nikgr95/rust-print-snippets-correction

Fix leftover curly brace during expansion in various print snippets
This commit is contained in:
Andrea Crotti 2020-08-02 17:58:31 +01:00 committed by GitHub
commit a68dc39506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -2,4 +2,4 @@
# name: eprint!("{}", value);
# key: eprint
# --
eprint!("${1:{}}", $2);
eprint!("${1:{\}}", $2);

View File

@ -2,4 +2,4 @@
# name: eprintln!("{}", value);
# key: eprintln
# --
eprintln!("${1:{}}", $2);
eprintln!("${1:{\}}", $2);

View File

@ -2,4 +2,4 @@
# name: print!("{}", value);
# key: print
# --
print!("${1:{}}", $2);
print!("${1:{\}}", $2);

View File

@ -2,4 +2,4 @@
# name: println!("{}", value);
# key: println
# --
println!("${1:{}}", $2);
println!("${1:{\}}", $2);