Skip to content

Commit f35a600

Browse files
committed
Fix code block language.
1 parent 184b056 commit f35a600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ attributes][attributes] are allowed directly after the `{` inside its [block].
293293
This example shows an inner attribute on a function. The function will only be
294294
available while running tests.
295295

296-
```
296+
```rust
297297
fn test_only() {
298298
#![test]
299299
}

0 commit comments

Comments
 (0)