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