From 59a139a30d927785c7c1c2d65c9fe71076b9be5a Mon Sep 17 00:00:00 2001 From: Penn Bauman Date: Fri, 11 Nov 2022 06:24:39 -0500 Subject: [PATCH] upgraded vte version to 0.11 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 03245e9..f738dd1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" keywords = ["ansi", "escape", "terminal"] [dependencies] -vte = { version = "0.10", default-features = false } +vte = { version = "0.11", default-features = false } [dev-dependencies] doc-comment = "0.3" diff --git a/src/lib.rs b/src/lib.rs index 508ef8e..d6e442b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -79,7 +79,7 @@ where /// /// ``` /// let str_with_colors = "\x1b[32mfoo\x1b[m bar"; -/// let string_without_colors = strip_ansi_escapes::strip_str(string_with_colors); +/// let string_without_colors = strip_ansi_escapes::strip_str(str_with_colors); /// assert_eq!(string_without_colors, "foo bar"); /// ``` pub fn strip_str(data: T) -> String