Skip to content

Commit

Permalink
Merge pull request #325 from axbannaz/update_term_size
Browse files Browse the repository at this point in the history
Upgrade term_size version to the latest beta v1.0.0-beta.2
  • Loading branch information
kaikalii authored Dec 19, 2023
2 parents 4c6e3e1 + 9344635 commit 93aea50
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 34 deletions.
41 changes: 9 additions & 32 deletions 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
Expand Up @@ -32,7 +32,7 @@ rayon = "1.8.0"
regex = "1.10.2"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
term_size = "1.0.0-beta1"
term_size = "=1.0.0-beta.2"
thread_local = "1"
tinyvec = {version = "1", features = ["alloc", "serde"]}
toml = "0.8.8"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ fn run() -> UiuaResult {
})
.unwrap_or_else(|| "program".into());
let path = PathBuf::from(name).with_extension(env::consts::EXE_EXTENSION);
#[allow(clippy::needless_borrow)]
#[allow(clippy::needless_borrows_for_generic_args)]
if let Err(e) = fs::write(&path, bytes) {
eprintln!("Failed to write executable: {e}");
exit(1);
Expand Down

0 comments on commit 93aea50

Please sign in to comment.