Skip to content

Commit aa43038

Browse files
Update virtue requirement from 0.0.17 to 0.0.18 (#731)
* Update virtue requirement from 0.0.17 to 0.0.18 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.17...v0.0.18) --- updated-dependencies: - dependency-name: virtue dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Fixed new lint warning --------- 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]>
1 parent 980f638 commit aa43038

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ description = "Implementation of #[derive(Encode, Decode)] for bincode"
1919
proc-macro = true
2020

2121
[dependencies]
22-
virtue = "0.0.17"
22+
virtue = "0.0.18"

derive/src/derive_struct.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ impl DeriveStruct {
1212
pub fn generate_encode(self, generator: &mut Generator) -> Result<()> {
1313
let crate_name = &self.attributes.crate_name;
1414
generator
15-
.impl_for(&format!("{}::Encode", crate_name))
15+
.impl_for(format!("{}::Encode", crate_name))
1616
.modify_generic_constraints(|generics, where_constraints| {
1717
if let Some((bounds, lit)) =
1818
(self.attributes.encode_bounds.as_ref()).or(self.attributes.bounds.as_ref())

0 commit comments

Comments
 (0)