Skip to content

Commit

Permalink
chore(deps): update rust (#1788)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed May 30, 2024
1 parent d18a549 commit 5c267d8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1

# Our CircleCI dependencies
orbs:
rust: circleci/rust@1.6.0
rust: circleci/rust@1.6.1
gh: circleci/github-cli@2.3.0
node: circleci/node@5.2.0
secops: apollo/circleci-secops-orb@2.0.7
Expand Down
2 changes: 1 addition & 1 deletion crates/rover-client/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ pub enum RoverClientError {
RateLimitExceeded,
}

fn contract_publish_errors_msg(msgs: &Vec<String>, no_launch: &bool) -> String {
fn contract_publish_errors_msg(msgs: &[String], no_launch: &bool) -> String {
let plural = match msgs.len() {
1 => "",
_ => "s",
Expand Down
6 changes: 1 addition & 5 deletions installers/binstall/src/system/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ pub fn add_binary_to_path(installer: &Installer) -> Result<(), InstallerError> {
for rc in shell.update_rcs() {
if !rc.is_file() || !fs::read_to_string(&rc)?.contains(&source_cmd) {
tracing::debug!("updating {}", &rc);
let mut dest_file = fs::OpenOptions::new()
.write(true)
.append(true)
.create(true)
.open(&rc)?;
let mut dest_file = fs::OpenOptions::new().append(true).create(true).open(&rc)?;
writeln!(&mut dest_file, "{}", &source_cmd)?;
dest_file.sync_data()?;
}
Expand Down
4 changes: 2 additions & 2 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.75.0"
components = [ "rustfmt", "clippy" ]
channel = "1.76.0"
components = [ "rustfmt", "clippy" ]

0 comments on commit 5c267d8

Please sign in to comment.