Merge pull request #183 from leecannon/master
std.fmt.trim is now deprectated
This commit is contained in:
commit
5e327b41ba
@ -51,7 +51,7 @@ pub fn collectDocComments(
|
||||
switch (tree.token_ids[curr_line_tok]) {
|
||||
.LineComment => continue,
|
||||
.DocComment, .ContainerDocComment => {
|
||||
try lines.append(std.fmt.trim(tree.tokenSlice(curr_line_tok)[3..]));
|
||||
try lines.append(std.mem.trim(u8, tree.tokenSlice(curr_line_tok)[3..], &std.ascii.spaces));
|
||||
},
|
||||
else => break,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user