Skip to content

Commit 93f53b0

Browse files
authored
Merge pull request #87 from tcharding/03-10-semicolon
verify: Include trailing semicolon
2 parents c6c9372 + f29bb9e commit 93f53b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

verify/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ pub fn grep_for_re_export(path: &Path, s: &str) -> Result<bool> {
179179
.with_context(|| format!("Failed to grep for string in {}", path.display()))?;
180180
let reader = io::BufReader::new(file);
181181

182-
let s = format!("{}[,}}]", &s);
182+
let s = format!("{}[,}};]", &s);
183183
let re = Regex::new(&s)?;
184184

185185
for line in reader.lines() {

0 commit comments

Comments
 (0)