Skip to content

Commit 68ceb8d

Browse files
authored
Merge pull request #63 from waywardmonkeys/fix-typo
Fix typo, link to docs, update docs
2 parents 5307747 + 1d82ef4 commit 68ceb8d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "terminal_size"
33
version = "0.3.0"
44
authors = ["Andrew Chin <[email protected]>"]
55
description = "Gets the size of your Linux or Windows terminal"
6-
documentation = "https://docs.rs/crate/terminal_size"
6+
documentation = "https://docs.rs/terminal_size"
77
repository = "https://github.com/eminence/terminal-size"
88
keywords = ["terminal", "console", "term", "size", "dimensions"]
99
license = "MIT OR Apache-2.0"

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ terminal-size
22
=============
33

44

5-
[Documention](https://docs.rs/crate/terminal_size)
5+
[Documentation](https://docs.rs/terminal_size)
66

77

8-
Rust library to getting the size of your terminal.
8+
Rust library for getting the size of your terminal.
99

10-
Works on Linux, MacOS, Windows, and illumos.
10+
Works on Linux, macOS, Windows, and illumos.
1111

1212
```rust
1313
use terminal_size::{Width, Height, terminal_size};
@@ -22,7 +22,7 @@ if let Some((Width(w), Height(h))) = size {
2222

2323
## Minimum Rust Version
2424

25-
This crate requires a minimum rust version of 1.63.0 (2022-08-11)
25+
This crate requires a minimum Rust version of 1.63.0 (2022-08-11).
2626

2727
## License
2828

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//! A simple utility for getting the size of a terminal.
22
//!
3-
//! Supports both Linux, MacOS, and Windows.
3+
//! Works on Linux, macOS, Windows, and illumos.
44
//!
5-
//! This crate requires a minimum rust version of 1.48.0 (2020-11-19)
5+
//! This crate requires a minimum Rust version of 1.63.0 (2022-08-11).
66
//!
77
//! # Example
88
//!

0 commit comments

Comments
 (0)