Skip to content

Commit

Permalink
chore(deps): bump rust from 1.76 to 1.81 (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Sep 9, 2024
1 parent a5f54f2 commit 9ef1fa5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.76.0
toolchain: 1.81.0
override: true
components: rustfmt, clippy
- name: Cache Cargo registry
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "rumba"
version = "1.12.1"
edition = "2021"
rust-version = "1.76"
rust-version = "1.81"

[lib]
path = "src/lib.rs"
Expand Down
3 changes: 1 addition & 2 deletions src/api/ai_help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,8 @@ pub async fn ai_help(
sse::Data::new_json(ai_help_meta).map_err(OpenAIError::JSONDeserialize)
}
.map(sse::Event::Data)
.map_err(|e| {
.inspect_err(|_e| {
let _ = decrement_limit(&mut conn, &user);
e
});

let refs = stream::once(async move { refs_sse_data });
Expand Down
2 changes: 1 addition & 1 deletion src/api/play.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ pub async fn create_flag_issue(
.map(|p| p.flag_repo.as_str())
.ok_or(PlaygroundError::SettingsError)?;
let issues = client.issues("mdn", repo);
let mut issue = issues.create(&format!("flag-{gist_id}"));
let mut issue = issues.create(format!("flag-{gist_id}"));
if let Some(reason) = reason {
issue = issue.body(&format!(
"url: {}/en-US/play?id={}\n{reason}",
Expand Down

0 comments on commit 9ef1fa5

Please sign in to comment.