Skip to content

Commit 59a139a

Browse files
committed
upgraded vte version to 0.11
1 parent 672ce55 commit 59a139a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ readme = "README.md"
1111
keywords = ["ansi", "escape", "terminal"]
1212

1313
[dependencies]
14-
vte = { version = "0.10", default-features = false }
14+
vte = { version = "0.11", default-features = false }
1515

1616
[dev-dependencies]
1717
doc-comment = "0.3"

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ where
7979
///
8080
/// ```
8181
/// let str_with_colors = "\x1b[32mfoo\x1b[m bar";
82-
/// let string_without_colors = strip_ansi_escapes::strip_str(string_with_colors);
82+
/// let string_without_colors = strip_ansi_escapes::strip_str(str_with_colors);
8383
/// assert_eq!(string_without_colors, "foo bar");
8484
/// ```
8585
pub fn strip_str<T>(data: T) -> String

0 commit comments

Comments
 (0)