We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
v -W vlib/toml/tests/encode_and_decode_test.v
1 parent 91a3844 commit 74080e8Copy full SHA for 74080e8
1 file changed
vlib/toml/tests/encode_and_decode_test.v
@@ -209,7 +209,7 @@ struct Example6 {
209
}
210
211
fn test_encode_for_exotic_types() {
212
- assert toml.encode(Example6{ ptr: &voidptr(0), r: `🚀` }) == 'ptr = "0x0"\nr = "🚀"'
+ assert toml.encode(Example6{ ptr: unsafe { &voidptr(nil) }, r: `🚀` }) == 'ptr = "0x0"\nr = "🚀"'
213
214
215
fn test_array_encode_decode() {
0 commit comments