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:
@@ -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 {
|
||||
@@ -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'
|
||||
}
|
||||
Reference in New Issue
Block a user