Fix code example (#1)

This commit is contained in:
Noora Heinsuo 2021-11-04 05:13:39 +02:00 committed by GitHub
parent f340d04eca
commit fd131c83a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,9 +91,9 @@ Instead of `try window.getPos()` for example, you may use:
```zig
const pos = window.getPos() catch |err| {
std.log.err("failed to get window position: error={}\n", err);
std.log.err("failed to get window position: error={}\n", .{err});
return;
}
};
```
Here is a rough list of functionality Wayland does not support: