Skip to content

Commit

Permalink
Merge pull request #35 from glcraft/fixes
Browse files Browse the repository at this point in the history
Update 0.8.2
  • Loading branch information
glcraft authored Nov 21, 2023
2 parents 69627f9 + 0fa061e commit 51bdbea
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 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,7 +1,7 @@
[package]
name = "aio-cli"
description = "Streamlined AI Terminal Interactions"
version = "0.8.0"
version = "0.8.2"
edition = "2021"
authors = ["Gabin Lefranc <[email protected]>"]
readme = "README.md"
Expand Down
3 changes: 0 additions & 3 deletions src/utils/split_bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ where
let complete = match pos_last_separator_found {
Some(pos_last_separator) => {
let pos_last_separator = bytes.len() - pos_last_separator;
unsafe {
println!("pos_last_separator: {}", String::from_utf8_unchecked(bytes.slice(..pos_last_separator).to_vec()));
}
let mut current = Vec::new();
std::mem::swap(&mut current, &mut self.rest);
current.append(&mut bytes.slice(..pos_last_separator).to_vec());
Expand Down

0 comments on commit 51bdbea

Please sign in to comment.