Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Martin Pugh
polkadot
Commits
eac833e4
Verified
Commit
eac833e4
authored
Aug 19, 2020
by
Andronik Ordian
Browse files
utils: update the outdated comment
parent
158f8bb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
node/subsystem-util/src/lib.rs
View file @
eac833e4
...
...
@@ -611,7 +611,7 @@ impl<Spawner: SpawnNamed, Job: 'static + JobTrait> Jobs<Spawner, Job> {
}
/// Send a message to the appropriate job for this `parent_hash`.
/// Will
only print a warning
if the job is not running.
/// Will
not return an error
if the job is not running.
async
fn
send_msg
(
&
mut
self
,
parent_hash
:
Hash
,
msg
:
Job
::
ToJob
)
->
Result
<
(),
Error
>
{
match
self
.running
.get_mut
(
&
parent_hash
)
{
Some
(
job
)
=>
job
.send_msg
(
msg
)
.await
?
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment