-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from alecmocatta/leak
Use pointer rather than reference to adhere to unsafe guidelines
- Loading branch information
Showing
5 changed files
with
23 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "serde_traitobject" | ||
version = "0.1.7" | ||
version = "0.1.8" | ||
license = "MIT OR Apache-2.0" | ||
authors = ["Alec Mocatta <[email protected]>"] | ||
categories = ["development-tools","encoding","rust-patterns","network-programming"] | ||
|
@@ -12,7 +12,7 @@ This library enables the serialization and deserialization of trait objects such | |
""" | ||
repository = "https://github.com/alecmocatta/serde_traitobject" | ||
homepage = "https://github.com/alecmocatta/serde_traitobject" | ||
documentation = "https://docs.rs/serde_traitobject/0.1.7" | ||
documentation = "https://docs.rs/serde_traitobject/0.1.8" | ||
readme = "README.md" | ||
edition = "2018" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ impl Hello for u8 { | |
} | ||
} | ||
|
||
#[allow(clippy::too_many_lines)] | ||
fn main() { | ||
let test = |Abc { | ||
a, | ||
|