Update virtue requirement from 0.0.13 to 0.0.14 (#645)

* 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](https://github.com/bincode-org/virtue/compare/v0.0.13...v0.0.14)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Removed redundant clone

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Victor Koenders <git@trang.ar>
This commit is contained in:
dependabot[bot] 2023-06-04 11:24:58 +02:00 committed by GitHub
parent 602d5137bf
commit 403bc28e4f
2 changed files with 2 additions and 2 deletions

View File

@ -19,4 +19,4 @@ description = "Implementation of #[derive(Encode, Decode)] for bincode"
proc-macro = true
[dependencies]
virtue = "0.0.13"
virtue = "0.0.14"

View File

@ -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();