Skip to content

Commit

Permalink
Updated rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 authored Sep 9, 2024
1 parent 2723e07 commit 952fdbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- pre-rel-*
env:
CARGO_TERM_COLOR: always
rust_stable: 1.76.0
rust_stable: 1.81.0

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

env:
rust_stable: 1.76.0
rust_stable: 1.81.0

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion cli/src/ui/save_file_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl SaveFileDialog {
fn file_browser_key_event(&mut self, key_event: KeyEvent) -> Result<ComponentStatus> {
let status = self.file_browser.handle_key_event(key_event)?;
match status {
ComponentStatus::Closed => self.save_path = self.file_browser.selected.clone(),
ComponentStatus::Closed => self.save_path.clone_from(&self.file_browser.selected),
ComponentStatus::Active => {
if let Some(filename) = self.file_browser.get_selected_filename() {
self.filename_input.set_text(filename);
Expand Down

0 comments on commit 952fdbd

Please sign in to comment.