mirror of https://git.sr.ht/~stygianentity/bincode
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:
parent
602d5137bf
commit
403bc28e4f
|
|
@ -19,4 +19,4 @@ description = "Implementation of #[derive(Encode, Decode)] for bincode"
|
|||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
virtue = "0.0.13"
|
||||
virtue = "0.0.14"
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue