mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
00ff8adfd6
# Objective
```rust
pub const fn height(width: Val) -> Self {
Self {
width,
height: Val::DEFAULT,
}
}
```
😓
## Solution
Swap `width` and `height`.
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml |