@@ -367,7 +367,7 @@ fn test_rotate_right_panic() {
367367
368368#[ test]
369369fn test_binary_search ( ) {
370- // If the givin VecDeque is not sorted, the returned result is unspecified and meaningless,
370+ // If the given VecDeque is not sorted, the returned result is unspecified and meaningless,
371371 // as this method performs a binary search.
372372
373373 let tester: VecDeque < _ > = [ 0 , 1 , 1 , 2 , 3 , 5 , 8 , 13 , 21 , 34 , 55 ] . into ( ) ;
@@ -391,7 +391,7 @@ fn test_binary_search() {
391391
392392#[ test]
393393fn test_binary_search_by ( ) {
394- // If the givin VecDeque is not sorted, the returned result is unspecified and meaningless,
394+ // If the given VecDeque is not sorted, the returned result is unspecified and meaningless,
395395 // as this method performs a binary search.
396396
397397 let tester: VecDeque < _ > = [ 0 , 1 , 1 , 2 , 3 , 5 , 8 , 13 , 21 , 34 , 55 ] . into ( ) ;
@@ -406,7 +406,7 @@ fn test_binary_search_by() {
406406
407407#[ test]
408408fn test_binary_search_key ( ) {
409- // If the givin VecDeque is not sorted, the returned result is unspecified and meaningless,
409+ // If the given VecDeque is not sorted, the returned result is unspecified and meaningless,
410410 // as this method performs a binary search.
411411
412412 let tester: VecDeque < _ > = [
0 commit comments