Few typos and clippy fixes (#1362)

* fix typos

* clippy fixes
This commit is contained in:
Adrian Catangiu authored and Bastian Köcher committed 2024-04-10 10:28:37 +02:00
1 parent 133934df7c
commit d04b018630
10 files changed
+26 -31

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ impl SenderOrigin<AccountId> for Origin {
fn linked_account(&self) -> Option<AccountId> {
match self.caller {
OriginCaller::system(frame_system::RawOrigin::Signed(ref submitter)) =>
Some(submitter.clone()),
Some(*submitter),
_ => None,
}
}
@@ -74,7 +74,7 @@ pub struct OutboundLane<S> {
}
impl<S: OutboundLaneStorage> OutboundLane<S> {
/// Create new inbound lane backed by given storage.
/// Create new outbound lane backed by given storage.
pub fn new(storage: S) -> Self {
OutboundLane { storage }
}