You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-16 06:10:26 +02:00
Ensure code blocks are editable (#597)
We should default to making code blocks editable: this ensures consistent syntax highlighting (see #343) and it allows the instructor to freely edit anything they want.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
Mark unit tests with `#[test]`:
|
||||
|
||||
```rust,ignore
|
||||
```rust,editable,ignore
|
||||
fn first_word(text: &str) -> &str {
|
||||
match text.find(' ') {
|
||||
Some(idx) => &text[..idx],
|
||||
|
Reference in New Issue
Block a user