mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +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 |