From 2125b87cae468c96dba68e48bccee77ec1fd3409 Mon Sep 17 00:00:00 2001 From: B YI Date: Fri, 8 Nov 2019 16:27:33 +0800 Subject: [PATCH] fix two typos (#4048) --- substrate/core/client/src/client.rs | 2 +- substrate/core/network/src/protocol/message.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/core/client/src/client.rs b/substrate/core/client/src/client.rs index 24a352ef64..fdd50b0d01 100644 --- a/substrate/core/client/src/client.rs +++ b/substrate/core/client/src/client.rs @@ -497,7 +497,7 @@ impl Client where /// Get longest range within [first; last] that is possible to use in `key_changes` /// and `key_changes_proof` calls. /// Range could be shortened from the beginning if some changes tries have been pruned. - /// Returns Ok(None) if changes trues are not supported. + /// Returns Ok(None) if changes tries are not supported. pub fn max_key_changes_range( &self, first: NumberFor, diff --git a/substrate/core/network/src/protocol/message.rs b/substrate/core/network/src/protocol/message.rs index 22fb35806d..c180bc3669 100644 --- a/substrate/core/network/src/protocol/message.rs +++ b/substrate/core/network/src/protocol/message.rs @@ -104,7 +104,7 @@ impl Decode for BlockAttributes { pub enum Direction { /// Enumerate in ascending order (from child to parent). Ascending = 0, - /// Enumerate in descendfing order (from parent to canonical child). + /// Enumerate in descending order (from parent to canonical child). Descending = 1, }