Skip to content

Commit e922e5a

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

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
@@ -41,6 +41,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4141
- Added `Deque::{swap, swap_unchecked, swap_remove_front, swap_remove_back}`.
4242
- Make `String::from_utf8_unchecked` const.
4343
- Implemented `TyrFrom` for `Deque` from slice.
44+
- Implemented `TryFrom` for `Deque` from slice.
4445

4546
### Changed
4647

src/deque.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ mod tests {
14861486
}
14871487

14881488
#[test]
1489-
fn tyr_from_array() {
1489+
fn try_from_array() {
14901490
assert!(Deque::<u8, 3>::try_from([1, 2, 3, 4]).is_err());
14911491

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

0 commit comments

Comments
 (0)