Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kbkpbot committed Jun 15, 2024
1 parent 2fdb453 commit b445eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/builtin/string.v
Original file line number Diff line number Diff line change
Expand Up @@ -2662,7 +2662,7 @@ pub fn (s string) camel_to_snake() string {
}
}

// camel_to_snake convert string from snake_case to camelCase
// snake_to_camel convert string from snake_case to camelCase
// Example: assert 'abcd'.snake_to_camel() == 'Abcd'
// Example: assert 'ab_cd'.snake_to_camel() == 'AbCd'
// Example: assert '_abcd'.snake_to_camel() == 'Abcd'
Expand Down

0 comments on commit b445eb7

Please sign in to comment.