Skip to content

Commit 4df1839

Browse files
hicklinnewAM
andcommitted
Apply typo suggestions from code review
Co-authored-by: Alex Martens <[email protected]>
1 parent d345c12 commit 4df1839

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4242
- Make `String::from_utf8_unchecked` const.
4343
- Implemented `PartialEq` and `Eq` for `Deque`.
4444
- Implemented `TyrFrom` for `Deque` from slice.
45+
- Implemented `TryFrom` for `Deque` from slice.
4546

4647
### Changed
4748

src/deque.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ mod tests {
15901590
}
15911591

15921592
#[test]
1593-
fn tyr_from_array() {
1593+
fn try_from_array() {
15941594
assert!(Deque::<u8, 3>::try_from([1, 2, 3, 4]).is_err());
15951595

15961596
let deq1 = Deque::<u8, 8>::try_from([1, 2, 3, 4]).unwrap();

0 commit comments

Comments
 (0)