Fix code example (#1)

This commit is contained in:
Noora Heinsuo 2021-11-04 05:13:39 +02:00 committed by Stephen Gutekanst
parent a3a9bfab00
commit 0d84c25938

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: