Skip to content

Commit ffaa6ac

Browse files
fix link in ANSI terminal (#602)
1 parent 203b108 commit ffaa6ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/ansi_terminal/ansi_term-basic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![ansi_term-badge]][ansi_term] [![cat-command-line-badge]][cat-command-line]
44

5-
This program depicts the use of [`ansi_term` crate] and how it is used for controlling colours and formatting, such as blue bold text or yellow underlined text, on ANSI terminals.
5+
This program depicts the use of [`ansi_term`] crate and how it is used for controlling colours and formatting, such as blue bold text or yellow underlined text, on ANSI terminals.
66

77
There are two main data structures in [`ansi_term`]: [`ANSIString`] and [`Style`]. A [`Style`] holds stylistic information: colours, whether the text should be bold, or blinking, or whatever. There are also Colour variants that represent simple foreground colour styles. An [`ANSIString`] is a string paired with a [`Style`].
88

@@ -52,7 +52,7 @@ fn main(){
5252
```
5353

5454
[documentation]: https://docs.rs/ansi_term/
55-
[`ansi_term` crate]: https://crates.io/crates/ansi_term
55+
[`ansi_term`]: https://crates.io/crates/ansi_term
5656
[`ANSIString`]: https://docs.rs/ansi_term/*/ansi_term/type.ANSIString.html
5757
[`Style`]: https://docs.rs/ansi_term/*/ansi_term/struct.Style.html
5858
[`Style::new()`]: https://docs.rs/ansi_term/0.11.0/ansi_term/struct.Style.html#method.new

0 commit comments

Comments
 (0)