aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/errors
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-11 23:21:42 -1030
committermat <git@matdoes.dev>2025-12-11 23:21:42 -1030
commitca70e5e321a3c174c53d0650feed84db471ac30d (patch)
tree43042fa40c2f3d7f30ea56e1ee84c59dcb13be66 /azalea-brigadier/src/errors
parent918214e8ba4eae65daf5d2da17aa0022f2ae5212 (diff)
downloadazalea-drasl-ca70e5e321a3c174c53d0650feed84db471ac30d.tar.xz
enable str_to_string clippy lint
Diffstat (limited to 'azalea-brigadier/src/errors')
-rw-r--r--azalea-brigadier/src/errors/command_syntax_error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-brigadier/src/errors/command_syntax_error.rs b/azalea-brigadier/src/errors/command_syntax_error.rs
index a476fec4..fd97b050 100644
--- a/azalea-brigadier/src/errors/command_syntax_error.rs
+++ b/azalea-brigadier/src/errors/command_syntax_error.rs
@@ -20,7 +20,7 @@ impl CommandSyntaxError {
Self {
kind,
message,
- input: Some(input.to_string()),
+ input: Some(input.to_owned()),
cursor: Some(cursor),
}
}