mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cli: prevent need for unsafe block (#5937)
This commit is contained in:
parent
d820a97c83
commit
4096432a1d
@ -144,7 +144,7 @@ fn pretty_description(s string, indent_len int) string {
|
||||
mut i := chars_per_line - 2
|
||||
mut j := 0
|
||||
for ; i < line.len; i += chars_per_line - 2 {
|
||||
for line.str[i] != ` ` {
|
||||
for line[i] != ` ` {
|
||||
i--
|
||||
}
|
||||
// indent was already done the first iteration
|
||||
|
Loading…
Reference in New Issue
Block a user