Skip to content

Commit ded83a8

Browse files
committed
any(startsWith()) not needed
1 parent 5cc8c64 commit ded83a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

+stdlib/ini2struct.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
function i = is_comment(line)
5656
% a comment line detected
5757

58-
i = isempty(line) || any(startsWith(line, [";", "#"]));
58+
i = isempty(line) || startsWith(line, [";", "#"]);
5959

6060
end
6161

0 commit comments

Comments
 (0)