1
0
Fork 0
mirror of https://codeberg.org/icewind/bitbuffer.git synced 2026-06-03 16:44:06 +02:00

use unchecked type conversions

this is safe because we already checked their bit size
This commit is contained in:
Robin Appelman 2019-03-03 01:42:56 +01:00
commit bd012039d0
6 changed files with 209 additions and 18 deletions

View file

@ -138,7 +138,6 @@ extern crate proc_macro;
use proc_macro2::{Span, TokenStream};
use quote::{quote, quote_spanned};
use syn::spanned::Spanned;
use syn::token::Token;
use syn::{
parse_macro_input, parse_quote, parse_str, Attribute, Data, DeriveInput, Expr, Fields, Ident,
Lit, LitStr, Meta, Pat, Path,