diff --git a/build.rs b/build.rs index 2ef0bdd..2df6b80 100644 --- a/build.rs +++ b/build.rs @@ -130,7 +130,7 @@ fn process(buf: &mut String, file: &Path, name: &str, desc: &str) { } /// Tokenizes and classifies a line. -fn tokenize(line: &str) -> StrResult { +fn tokenize(line: &str) -> StrResult> { // Strip comments. let line = line.split_once("//").map_or(line, |(head, _)| head);