![]() # Objective
```rust
pub const fn height(width: Val) -> Self {
Self {
width,
height: Val::DEFAULT,
}
}
```
😓
## Solution
Swap `width` and `height`.
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml |
![]() # Objective
```rust
pub const fn height(width: Val) -> Self {
Self {
width,
height: Val::DEFAULT,
}
}
```
😓
## Solution
Swap `width` and `height`.
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml |