From d032f1d75bae50dd6b35d1067cb928f97d3e656a Mon Sep 17 00:00:00 2001 From: proc <0xpr03@users.noreply.github.com> Date: Tue, 31 May 2016 13:41:43 +0200 Subject: [PATCH] Cargo.toml example fix from old notation, leading now to an `warning: dependency (regex) specified without providing a local path, Git repository, or version to use.` error --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index fe4b655e..baf57f60 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,7 +15,7 @@ //! //! ```toml //! [dependencies.mysql] -//! mysql = "*" +//! version = "*" //! default-features = false //! features = ["socket"] //! ``` @@ -26,7 +26,7 @@ //! //! ```toml //! [dependencies.mysql] -//! mysql = "*" +//! version = "*" //! default-features = false //! features = ["pipe"] //! ```