Skip to content

Commit ae5d3c7

Browse files
committed
Merge pull request jeaye#59 from manuc66/master
fix syntax error
2 parents 9b827b5 + ffd2a5e commit ae5d3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ex_5.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ impl Pager
212212

213213
/* Trim the word of all delimiters. */
214214
let word = word.trim_chars(|&: ch: char|
215-
{ WORD_LIMITS.contains(&(ch as u8) });
215+
{ WORD_LIMITS.contains(&(ch as u8)) });
216216

217217
if word.len() == 0
218218
{ return 0; }

0 commit comments

Comments
 (0)