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

all: change optional to option (#16914)

This commit is contained in:
JalonSolov
2023-01-09 01:36:45 -05:00
committed by GitHub
parent 241109516f
commit 90941b3b1f
255 changed files with 1428 additions and 1428 deletions

View File

@@ -3,7 +3,7 @@ import os
struct DbConfig {}
fn test_json_decode_with_optional_arg() {
fn test_json_decode_with_option_arg() {
if ret := print_info() {
println(ret)
} else {

View File

@@ -5,7 +5,7 @@ struct Foo {
num ?int
}
fn test_json_encode_struct_with_optional_field() {
fn test_json_encode_struct_with_option_field() {
f1 := Foo{
name: 'hello'
}