Skip to content

Commit

Permalink
Update virtue requirement from 0.0.13 to 0.0.14 (bincode-org#645)
Browse files Browse the repository at this point in the history
* Update virtue requirement from 0.0.13 to 0.0.14

Updates the requirements on [virtue](https://github.com/bincode-org/virtue) to permit the latest version.
- [Release notes](https://github.com/bincode-org/virtue/releases)
- [Commits](bincode-org/virtue@v0.0.13...v0.0.14)

---
updated-dependencies:
- dependency-name: virtue
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Removed redundant clone

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Victor Koenders <[email protected]>
  • Loading branch information
dependabot[bot] and Victor Koenders authored Jun 4, 2023
1 parent 7bc7c89 commit 8efe92e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ description = "Implementation of #[derive(Encode, Decode)] for bincode"
proc-macro = true

[dependencies]
virtue = "0.0.13"
virtue = "0.0.14"
2 changes: 1 addition & 1 deletion derive/src/derive_enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ impl DeriveEnum {
}

pub fn generate_borrow_decode(self, generator: &mut Generator) -> Result<()> {
let crate_name = self.attributes.crate_name.clone();
let crate_name = &self.attributes.crate_name;

// Remember to keep this mostly in sync with generate_decode
let enum_name = generator.target_name().to_string();
Expand Down

0 comments on commit 8efe92e

Please sign in to comment.