From 4a2e26d0c0f3ce38fa6c3ba09717af110875e1d5 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 10 Feb 2023 14:21:15 +0000 Subject: [PATCH] fix: cargo fmt --- --- a/pallets/nonfungible/src/lib.rs +++ b/pallets/nonfungible/src/lib.rs @@ -1273,7 +1273,7 @@ Some(from), nesting_budget, )? { - // Pass, token existence and ouroboros checks are done in `check_indirectly_owned` + // Pass, token existence and ouroboros checks are done in `check_indirectly_owned` } else if nesting.collection_admin && handle.is_owner_or_admin(&sender) { // token existence and ouroboros checks are done in `get_checked_topmost_owner` let _ = >::get_checked_topmost_owner( @@ -1281,7 +1281,8 @@ under, Some(from), nesting_budget, - )?.ok_or(>::TokenNotFound)?; + )? + .ok_or(>::TokenNotFound)?; } else { fail!(>::UserIsNotAllowedToNest); } -- gitstuff