From 72f2b2eee801cf3935eae96488ba47a652d1421d Mon Sep 17 00:00:00 2001 From: jshipsey Date: Wed, 9 Feb 2022 19:33:40 -0500 Subject: [PATCH] clippy --- CHANGELOG.md | 1 + voxygen/src/scene/figure/mod.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6a24540fd..30d9037529 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Shader dithering to remove banding from scenes with large colour gradients - Convert giant trees to site2 - Add new upgraded travelers +- Wallrunning ### Changed diff --git a/voxygen/src/scene/figure/mod.rs b/voxygen/src/scene/figure/mod.rs index 99a87ef74f..6b230f011d 100644 --- a/voxygen/src/scene/figure/mod.rs +++ b/voxygen/src/scene/figure/mod.rs @@ -705,7 +705,7 @@ impl FigureMgr { (anim::vek::Vec3::::from(pos.0),), anim::vek::Quaternion::::default(), )); - let wall_dir = physics.on_wall.map(|v| anim::vek::Vec3::from(v)); + let wall_dir = physics.on_wall.map(anim::vek::Vec3::from); // Maintaining figure data and sending new figure data to the GPU turns out to // be a very expensive operation. We want to avoid doing it as much // as possible, so we make the assumption that players don't care so