@@ -898,7 +898,7 @@ impl<T: ?Sized> RefCell<T> {
898898 Ok ( Ref { value : unsafe { & * self . value . get ( ) } , borrow : b } )
899899 }
900900 None => Err ( BorrowError {
901- // If a borrow occured , then we must already have an outstanding borrow,
901+ // If a borrow occurred , then we must already have an outstanding borrow,
902902 // so `borrowed_at` will be `Some`
903903 #[ cfg( feature = "debug_refcell" ) ]
904904 location : self . borrowed_at . get ( ) . unwrap ( ) ,
@@ -983,7 +983,7 @@ impl<T: ?Sized> RefCell<T> {
983983 Ok ( RefMut { value : unsafe { & mut * self . value . get ( ) } , borrow : b } )
984984 }
985985 None => Err ( BorrowMutError {
986- // If a borrow occured , then we must already have an outstanding borrow,
986+ // If a borrow occurred , then we must already have an outstanding borrow,
987987 // so `borrowed_at` will be `Some`
988988 #[ cfg( feature = "debug_refcell" ) ]
989989 location : self . borrowed_at . get ( ) . unwrap ( ) ,
@@ -1104,7 +1104,7 @@ impl<T: ?Sized> RefCell<T> {
11041104 Ok ( unsafe { & * self . value . get ( ) } )
11051105 } else {
11061106 Err ( BorrowError {
1107- // If a borrow occured , then we must already have an outstanding borrow,
1107+ // If a borrow occurred , then we must already have an outstanding borrow,
11081108 // so `borrowed_at` will be `Some`
11091109 #[ cfg( feature = "debug_refcell" ) ]
11101110 location : self . borrowed_at . get ( ) . unwrap ( ) ,
0 commit comments