1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

crypto.pem: fix typo in decode.v (#17896)

seperator -> separator
This commit is contained in:
Ikko Eltociear Ashimine 2023-04-06 18:12:45 +09:00 committed by GitHub
parent 31ffbc7a87
commit 7838ef366a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ fn parse_headers(block string) ?(map[string][]string, string) {
// so that we can manually index them // so that we can manually index them
headers_seperated := headers_str.split_into_lines() headers_seperated := headers_str.split_into_lines()
// index the key/value seperator ':', otherwise // index the key/value separator ':', otherwise
// return none because it should exist // return none because it should exist
// the initialisation of this function already tells us headers are present // the initialisation of this function already tells us headers are present
mut colon_index := headers_seperated[0].index(colon) or { return none } mut colon_index := headers_seperated[0].index(colon) or { return none }