Skip to content

Commit 81c8335

Browse files
committed
Fix code block language.
1 parent a6e4bf2 commit 81c8335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/functions.md

Lines changed: 1 addition & 1 deletion
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)