From b8b3f5b7d1adcc5bd18c995be20eced9427d44b0 Mon Sep 17 00:00:00 2001 From: guanqun Date: Sun, 28 Oct 2018 00:03:57 +0800 Subject: [PATCH] fix one typo (#1029) --- substrate/core/network/src/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/core/network/src/service.rs b/substrate/core/network/src/service.rs index 0bed8db83d..6d38d4484f 100644 --- a/substrate/core/network/src/service.rs +++ b/substrate/core/network/src/service.rs @@ -117,7 +117,7 @@ pub struct Service, H: ExHashT> { handler: Arc>, /// Protocol ID. protocol_id: ProtocolId, - /// Sender for messages to the backgound service task, and handle for the background thread. + /// Sender for messages to the background service task, and handle for the background thread. /// Dropping the sender should close the task and the thread. /// This is an `Option` because we need to extract it in the destructor. bg_thread: Option<(oneshot::Sender<()>, thread::JoinHandle<()>)>,