Skip to content

Commit 5bb085c

Browse files
committed
Merge rust-bitcoin#5048: fix grammar in API test comments
5cd163d fix grammar in API test comments (viktorking7) Pull request description: ```markdown Fixed subject-verb agreement in API test documentation comments. ### Changes - **Files affected:** `hashes/tests/api.rs`, `io/tests/api.rs`, `primitives/tests/api.rs` - **Fix:** Changed "The point of these tests **are**" → "The point of these tests **is**" ### Why The subject "The point" is singular, requiring the singular verb "is" instead of "are". ``` ACKs for top commit: apoelstra: ACK 5cd163d; successfully ran local tests Tree-SHA512: ad939c64daee5a960574f9625fc4afc21b4e68a1f7ebac1ec9e42196a0428fdc0cf6bf56bb6428f710ec574860ba0b46bc66fff7506ff2fc4c26ba8e8db7f3c2
2 parents 5d78f3c + 5cd163d commit 5bb085c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hashes/tests/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
//! Test the API surface of `units`.
44
//!
5-
//! The point of these tests are to check the API surface as opposed to test the API functionality.
5+
//! The point of these tests is to check the API surface as opposed to test the API functionality.
66
//!
77
//! ref: <https://rust-lang.github.io/api-guidelines/about.html>
88

io/tests/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Test the API surface of `io`.
22
//!
3-
//! The point of these tests are to check the API surface as opposed to test the API functionality.
3+
//! The point of these tests is to check the API surface as opposed to test the API functionality.
44
//!
55
//! ref: <https://rust-lang.github.io/api-guidelines/about.html>
66

primitives/tests/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
//! Test the API surface of `primitives`.
44
//!
5-
//! The point of these tests are to check the API surface as opposed to test the API functionality.
5+
//! The point of these tests is to check the API surface as opposed to test the API functionality.
66
//!
77
//! ref: <https://rust-lang.github.io/api-guidelines/about.html>
88

0 commit comments

Comments
 (0)