mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Make clippy happy
This commit is contained in:
parent
ca18da8061
commit
ab4e3d23e3
@ -885,7 +885,7 @@ fn handle_respawn(
|
||||
.state
|
||||
.read_storage::<comp::Waypoint>()
|
||||
.get(target)
|
||||
.ok_or_else(|| format!("No waypoint set"))?
|
||||
.ok_or_else(|| "No waypoint set")?
|
||||
.get_pos();
|
||||
|
||||
position_mut(server, target, "target", |current_pos| {
|
||||
|
Loading…
Reference in New Issue
Block a user