1
0
Fork 0
mirror of https://codeberg.org/icewind/bitbuffer.git synced 2026-06-03 08:34:07 +02:00
This commit is contained in:
Robin Appelman 2024-06-15 15:21:23 +02:00
commit d989565775
7 changed files with 76 additions and 85 deletions

View file

@ -12,9 +12,9 @@ name = "bitbuffer_derive"
proc-macro = true
[dependencies]
syn = { version = "2.0.58", features = ["extra-traits"] }
quote = "1.0.35"
proc-macro2 = "1.0.79"
syn = { version = "2.0.66", features = ["extra-traits"] }
quote = "1.0.36"
proc-macro2 = "1.0.85"
structmeta = "0.3.0"
merge = "0.1.0"

View file

@ -9,10 +9,6 @@ pub trait SizeHint {
fn size_hint(&self) -> TokenStream;
}
pub trait SizeHintSized {
fn hint(&self) -> TokenStream;
}
impl SizeHint for FieldParam {
fn size_hint(&self) -> TokenStream {
let span = self.span;