Skip to content

Commit

Permalink
Add Clone for Scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Malax committed Apr 28, 2023
1 parent c159e2e commit a928e79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ separate changelogs for each crate were used. If you need to refer to these old
### Added

- `Env::get_string_lossy` as a convenience method to work with environment variables directly. Getting a value out of an `Env` and treating its contents as unicode is a common case. Using this new method can simplify buildpack code. ([#565](https://github.com/heroku/libcnb.rs/pull/565))
- `Clone` implementation for `libcnb::layer_env::Scope`. ([#566](https://github.com/heroku/libcnb.rs/pull/566))

## [0.11.5] 2023-02-07

Expand Down
2 changes: 1 addition & 1 deletion libcnb/src/layer_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ impl PartialOrd for ModificationBehavior {
}

/// The scope of an environment variable modification.
#[derive(Eq, PartialEq, Debug)]
#[derive(Eq, PartialEq, Debug, Clone)]
pub enum Scope {
All,
Build,
Expand Down

0 comments on commit a928e79

Please sign in to comment.