Skip to content

Commit

Permalink
Upgrade Rust to 1.80
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasPickering committed Oct 4, 2024
1 parent 711086f commit c6e5218
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased - [ReleaseDate]

### Changed

- Upgrade Rust version to 1.80.0

### Fixed

- Do not load config for subcommands that don't need it (e.g. `es init`)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
name = "env-select"
repository = "https://github.com/LucasPickering/env-select"
# Keep in sync w/ rust-toolchain.toml
rust-version = "1.72.0"
rust-version = "1.80.0"
version = "1.1.3"

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
# Keep in sync w/ Cargo.toml
channel = "1.72.0"
channel = "1.80.0"
components = ["cargo", "clippy", "rustfmt"]
2 changes: 1 addition & 1 deletion src/config/qualify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl<'a> Qualify<'a> for PathBuf {
/// path (if this path is relative).
fn qualify(&mut self, config_path: &Self::Context) {
let new_path = match config_path.parent() {
Some(directory) => directory.join(&self),
Some(directory) => directory.join(self.as_path()),
None => panic!(
"Qualification context should be a path to a \
config file, but got {config_path:?}"
Expand Down

0 comments on commit c6e5218

Please sign in to comment.