Skip to content

Commit 1aabdc6

Browse files
committed
more consistent to camel_to_snake problem
1 parent 7759bb3 commit 1aabdc6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lvl2/snake_to_camel/snake_to_camel.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,7 @@ void snake_to_camel(char *str)
3030
while (str[i])
3131
{
3232
if (str[i] == '_')
33-
{
3433
str[i + 1] = ft_toupper(str[i + 1]);
35-
// continue ;
36-
}
37-
// else
38-
// str[res_ind++] = str[i];
3934
ft_putchar(str[i]);
4035
i++;
4136
}

0 commit comments

Comments
 (0)