Skip to content

Commit e4c2822

Browse files
committed
fix(blog): proper syntax for dinkus in Rust article
1 parent 3150cbc commit e4c2822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/blog/anticipated-rust/anticipated-rust.mdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ While [rustfmt does have the ability to reorder imports](https://rust-lang.githu
9999

100100
With this, triggering the action through the command palette (or on save if configured to do so), rust-analyzer would automatically remove unused imports. I'll note that it is somewhat possible to do this already, by selecting all the imports, pressing `CTRL+.` and manually clicking a "Remove all unused imports" option, but it's a bit cumbersome.
101101

102-
dinkus
102+
{% dinkus /%}
103103

104104
Rust is often criticised for its complex syntax, and asking for more features might make it seems like it'd make things even worse. However, I actually believe that giving library authors the features that allow them to create APIs with less boilerplate would help a lot with this perception.
105105

0 commit comments

Comments
 (0)