Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aecsocket committed Oct 25, 2024
1 parent 2b92145 commit 7d62ed8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ impl AnimationGraphSerializer<'_> {
default_parameters: graph.default_parameters.clone(),
input_times: graph.input_times.clone(),
output_parameters: graph.output_parameters.clone(),
output_time: graph.output_time.clone(),
output_time: graph.output_time,
extra: graph.extra.clone(),
};

Expand Down Expand Up @@ -982,11 +982,11 @@ impl<'a> Serialize for AnimationNodeSerializer<'a> {
)))?;
state.serialize_field("ty", type_path)?;

let mut processor = HandleProcessor;
let processor = HandleProcessor;
let reflect_serializer = TypedReflectSerializer::new(
self.inner.as_reflect(),
&self.type_registry,
Some(&mut processor),
self.type_registry,
Some(&processor),
);
state.serialize_field("inner", &reflect_serializer)?;

Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_animation_graph_editor/src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ impl TabViewer<'_> {
.map(|type_info| type_info.short.len())
.max()
.unwrap_or_default();
types.sort_unstable_by(|a, b| a.path.cmp(&b.path));
types.sort_unstable_by(|a, b| a.path.cmp(b.path));

let selected_text = types
.iter()
Expand Down

0 comments on commit 7d62ed8

Please sign in to comment.