Skip to content

Commit

Permalink
bump and clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed May 2, 2024
1 parent 0f0fab7 commit 30f1503
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zoo"
version = "0.2.44"
version = "0.2.45"
edition = "2021"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl crate::cmd::Command for CmdApi {
}

// Set this as our body.
bytes = buf.clone();
bytes.clone_from(&buf);

// Set our params to the query string.
if !params.is_empty() {
Expand Down
4 changes: 2 additions & 2 deletions src/cmd_ml/cmd_text_to_cad.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl crate::cmd::Command for CmdTextToCadSnapshot {
if let Some(outputs) = &model.outputs {
for (key, value) in outputs {
if key.ends_with(".gltf") {
gltf_bytes = value.0.clone();
gltf_bytes.clone_from(&value.0);
break;
}
}
Expand Down Expand Up @@ -224,7 +224,7 @@ impl crate::cmd::Command for CmdTextToCadView {
if let Some(outputs) = &model.outputs {
for (key, value) in outputs {
if key.ends_with(".gltf") {
gltf_bytes = value.0.clone();
gltf_bytes.clone_from(&value.0);
break;
}
}
Expand Down
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ mod context;
mod docs_man;
mod docs_markdown;
mod iostreams;
mod prompt_ext;
mod types;

#[cfg(test)]
Expand Down
7 changes: 0 additions & 7 deletions src/prompt_ext.rs

This file was deleted.

0 comments on commit 30f1503

Please sign in to comment.