From e55f3d4398c01fb81ff57d3600634000b6ab662d Mon Sep 17 00:00:00 2001 From: Jinhua Tan <312841925@qq.com> Date: Tue, 21 Dec 2021 21:02:18 +0800 Subject: [PATCH] examples: make the introduction in examples/Cargo.toml more clear (#4333) --- examples/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 7491c81c8..b37adff09 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -5,10 +5,10 @@ publish = false edition = "2018" # If you copy one of the examples into a new project, you should be using -# [dependencies] instead. +# [dependencies] instead, and delete the **path**. [dev-dependencies] -tokio = { version = "1.0.0", path = "../tokio",features = ["full", "tracing"] } -tokio-util = { version = "0.7.0", path = "../tokio-util",features = ["full"] } +tokio = { version = "1.0.0", path = "../tokio", features = ["full", "tracing"] } +tokio-util = { version = "0.7.0", path = "../tokio-util", features = ["full"] } tokio-stream = { version = "0.1", path = "../tokio-stream" } tracing = "0.1"