Skip to content

Commit 29d68a0

Browse files
committed
fix(tasks): Fixed import of FromStr
1 parent 935a746 commit 29d68a0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"rust-analyzer.cargo.features": []
2+
"rust-analyzer.cargo.features": "all"
33
}

src/tasks/tasks.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ use crate::{Cli, Package, PackageError, Packages, ReadToml, Result, cli::Workspa
99

1010
use super::{Task, TaskError};
1111

12+
#[allow(unused_imports)]
13+
#[cfg(feature = "unstable")]
14+
use std::str::FromStr;
15+
1216
#[derive(Debug)]
1317
pub struct Tasks {
1418
tasks: IndexMap<Task, Option<Child>>,

0 commit comments

Comments
 (0)