rename none to null
This commit is contained in:
@@ -5,7 +5,7 @@ native :: import "../include/native.h"
|
||||
# self-referential `?*mut Node` field as C-layout-compatible.
|
||||
|
||||
main func() i32 {
|
||||
node native.Node = native.Node { next = none, value = 7 }
|
||||
node native.Node = native.Node { next = null, value = 7 }
|
||||
if node.next |_| {
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user