diff options
| author | mat <git@matdoes.dev> | 2025-12-11 23:21:42 -1030 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-11 23:21:42 -1030 |
| commit | ca70e5e321a3c174c53d0650feed84db471ac30d (patch) | |
| tree | 43042fa40c2f3d7f30ea56e1ee84c59dcb13be66 /azalea-protocol/src/packets/game/c_commands.rs | |
| parent | 918214e8ba4eae65daf5d2da17aa0022f2ae5212 (diff) | |
| download | azalea-drasl-ca70e5e321a3c174c53d0650feed84db471ac30d.tar.xz | |
enable str_to_string clippy lint
Diffstat (limited to 'azalea-protocol/src/packets/game/c_commands.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/c_commands.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/c_commands.rs b/azalea-protocol/src/packets/game/c_commands.rs index f96e7ef0..758c8f27 100644 --- a/azalea-protocol/src/packets/game/c_commands.rs +++ b/azalea-protocol/src/packets/game/c_commands.rs @@ -360,7 +360,7 @@ mod tests { children: vec![], redirect_node: None, node_type: NodeType::Literal { - name: "String".to_string(), + name: "String".to_owned(), }, is_restricted: false, }; @@ -378,7 +378,7 @@ mod tests { children: vec![6, 9], redirect_node: Some(5), node_type: NodeType::Argument { - name: "position".to_string(), + name: "position".to_owned(), parser: BrigadierParser::Vec3, suggestions_type: Some(Identifier::new("minecraft:test_suggestion")), }, |
