mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
Rewrap all comments to 100 line width (#9490)
* reformat everything again * manual formatting * last manual fix * Fix build
This commit is contained in:
@@ -145,8 +145,8 @@ where
|
||||
child.number < *number && is_descendent_of(&child.hash, hash)?)
|
||||
{
|
||||
root.children.push(child);
|
||||
// assuming that the tree is well formed only one child should pass this requirement
|
||||
// due to ancestry restrictions (i.e. they must be different forks).
|
||||
// assuming that the tree is well formed only one child should pass this
|
||||
// requirement due to ancestry restrictions (i.e. they must be different forks).
|
||||
is_first = false;
|
||||
} else {
|
||||
removed.push(child);
|
||||
@@ -912,14 +912,15 @@ mod test {
|
||||
) -> (ForkTree<&'a str, u64, ()>, impl Fn(&&str, &&str) -> Result<bool, TestError>) {
|
||||
let mut tree = ForkTree::new();
|
||||
|
||||
#[rustfmt::skip]
|
||||
//
|
||||
// - B - C - D - E
|
||||
// /
|
||||
// / - G
|
||||
// / /
|
||||
// A - F - H - I
|
||||
// \
|
||||
// - L - M
|
||||
// \
|
||||
// - L - M \
|
||||
// - O
|
||||
// \
|
||||
// — J - K
|
||||
|
||||
Reference in New Issue
Block a user