mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: fix typos (#21089)
This commit is contained in:
parent
9ad84ddc21
commit
f77bb32044
193 changed files with 403 additions and 402 deletions
|
@ -85,7 +85,7 @@ fn is_marker(data string) (string, string) {
|
|||
}
|
||||
|
||||
// fix_nl returns the data, if it is empty, or if it ends in \n.
|
||||
// Otherwise it returns data + a final \n addded.
|
||||
// Otherwise it returns data + a final \n added.
|
||||
fn fix_nl(data string) string {
|
||||
if data.len == 0 || data[data.len - 1] == `\n` {
|
||||
return data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue