Skip to content

Commit

Permalink
fixup! cor: semplify the fundamentals implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenzopalazzo committed Apr 1, 2024
1 parent 0bbb5df commit 6a4313f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fundamentals/src/bitflag.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
//! Bitflag rust Implementation.
//!
//! This implementation is inspired and taken from
//! the awesome amplify library <https://github.com/rust-amplify/rust-amplify/blob/master/src/collection/flags.rs>
//!
//! Author: Vincenzo Palazzo <[email protected]>.
use std::vec::Vec;

Check warning on line 4 in fundamentals/src/bitflag.rs

View workflow job for this annotation

GitHub Actions / Build (nightly)

the item `Vec` is imported redundantly

use crate::core::{FromWire, ToWire};

// FIXME: rename to bitvector :)
#[derive(Clone, Debug)]
pub struct BitFlag {
pub len: u16,
Expand Down

0 comments on commit 6a4313f

Please sign in to comment.