Skip to content

Commit aa6f7a2

Browse files
hicklinnewAM
andauthored
Apply typo suggestions from code review
Co-authored-by: Alex Martens <[email protected]>
1 parent 306528a commit aa6f7a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3939
- Added `SortedLinkedListView`, the `!Sized` version of `SortedLinkedList`.
4040
- Added implementation of `Borrow` and `BorrowMut` for `String` and `Vec`.
4141
- Added `Deque::{swap, swap_unchecked, swap_remove_front, swap_remove_back}`.
42-
- Implemented `TyrFrom` for `Deque` from slice.
42+
- Implemented `TryFrom` for `Deque` from slice.
4343

4444
### Changed
4545

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)