mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
chore: fix warning from new Rust version (#3647)
This commit is contained in:
parent
0dc4769708
commit
724ba348d1
@ -479,7 +479,7 @@ impl Command {
|
||||
/// Basic usage:
|
||||
///
|
||||
/// ```no_run
|
||||
/// use tokio::process::Command;;
|
||||
/// use tokio::process::Command;
|
||||
/// use std::process::Stdio;
|
||||
///
|
||||
/// let command = Command::new("ls")
|
||||
@ -503,7 +503,7 @@ impl Command {
|
||||
/// Basic usage:
|
||||
///
|
||||
/// ```no_run
|
||||
/// use tokio::process::Command;;
|
||||
/// use tokio::process::Command;
|
||||
/// use std::process::{Stdio};
|
||||
///
|
||||
/// let command = Command::new("ls")
|
||||
|
@ -544,7 +544,7 @@ impl TimerEntry {
|
||||
cx: &mut Context<'_>,
|
||||
) -> Poll<Result<(), super::Error>> {
|
||||
if self.driver.is_shutdown() {
|
||||
panic!(crate::util::error::RUNTIME_SHUTTING_DOWN_ERROR);
|
||||
panic!("{}", crate::util::error::RUNTIME_SHUTTING_DOWN_ERROR);
|
||||
}
|
||||
|
||||
if let Some(deadline) = self.initial_deadline {
|
||||
|
Loading…
x
Reference in New Issue
Block a user