Skip to content

Dev v0.1.19#27

Merged
FL03 merged 13 commits intomainfrom
dev-v0.1.19
Apr 7, 2023
Merged

Dev v0.1.19#27
FL03 merged 13 commits intomainfrom
dev-v0.1.19

Conversation

@FL03
Copy link
Copy Markdown
Owner

@FL03 FL03 commented Apr 7, 2023

No description provided.

@FL03 FL03 added enhancement New feature or request rust Improvements or additions that update the Rust code upgrade Alterations to the codebase data-structure Improvements or additions to data-structures labels Apr 7, 2023
@FL03 FL03 added this to the v0.1.19 milestone Apr 7, 2023
@FL03 FL03 self-assigned this Apr 7, 2023
@FL03 FL03 merged commit 7afebc4 into main Apr 7, 2023
@FL03 FL03 deleted the dev-v0.1.19 branch April 7, 2023 22:07
Comment thread merkle/src/payloads.rs
Comment on lines +47 to +50
match self {
Self::Leaf(_) => true,
_ => false,
}

Check warning

Code scanning / clippy

match expression looks like `matches!` macro

match expression looks like `matches!` macro
Comment thread merkle/src/payloads.rs
Comment on lines +53 to +56
match self {
Self::Node(_, _) => true,
_ => false,
}

Check warning

Code scanning / clippy

match expression looks like `matches!` macro

match expression looks like `matches!` macro
Comment thread merkle/src/utils.rs
res
pub fn merkle_hash(data: impl AsRef<[u8]>) -> H256 {
let tmp: H256 = hasher(data).into();
hasher(&tmp).into()

Check warning

Code scanning / clippy

the borrowed expression implements the required traits

the borrowed expression implements the required traits
Comment thread graph/src/store/matrix.rs
self.store.iter().map(|(k, _)| k)
}
/// Returns the number of elements in the matrix.
pub fn len(&self) -> usize {

Check warning

Code scanning / clippy

struct `AdjacencyMatrix` has a public `len` method, but no `is_empty` method

struct `AdjacencyMatrix` has a public `len` method, but no `is_empty` method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-structure Improvements or additions to data-structures enhancement New feature or request rust Improvements or additions that update the Rust code upgrade Alterations to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants