Skip to content

Commit 1ae242e

Browse files
authored
README syntax highlighting
1 parent 6746fc2 commit 1ae242e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ the [`deno_lint` project](https://github.com/denoland/deno_lint).
1111

1212
## Using the Library
1313

14-
```
14+
```rust
1515
let mut validator = EcmaRegexValidator::new(EcmaVersion::ES2018);
1616
assert_eq!(validator.validate_pattern("foo|abc(d)?", false), Ok(()));
1717
assert_eq!(validator.validate_flags("gim", false), Ok(()));

0 commit comments

Comments
 (0)