Skip to content

Commit 581f1c5

Browse files
committed
Fix some indentation
1 parent 482c9d8 commit 581f1c5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

schema.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ A type mismatch occurs if a value cannot be converted to a different type withou
4444
modifying it, parsing it, etc.
4545
4646
Examples of a type mismatch (src -> dst):
47-
string -> int
48-
int -> string
49-
bool -> int
50-
float -> int
51-
null -> string
47+
string -> int
48+
int -> string
49+
bool -> int
50+
float -> int
51+
null -> string
5252
5353
Examples of allowed type conversions (src -> dst):
54-
int -> float
55-
<T> -> *<T>
56-
null -> *<T>
54+
int -> float
55+
<T> -> *<T>
56+
null -> *<T>
5757
5858
Embedded structs work as you might expect. The fields of the struct are treated as
5959
if they were hardcoded into dst. In other words, embedding does not change how

0 commit comments

Comments
 (0)