@@ -174,7 +174,7 @@ fn insert_shared<'py>(py: Python<'py>) -> PyResult<NonNull<Shared>> {
174174// These entry points will be used to access the shared borrow checking API from this extension:
175175
176176pub fn acquire < ' py > ( py : Python < ' py > , array : * mut PyArrayObject ) -> Result < ( ) , BorrowError > {
177- let shared = get_or_insert_shared ( py) . expect ( "Interal borrow checking API error" ) ;
177+ let shared = get_or_insert_shared ( py) . expect ( "Internal borrow checking API error" ) ;
178178
179179 let rc = unsafe { ( shared. acquire ) ( shared. flags , array) } ;
180180
@@ -186,7 +186,7 @@ pub fn acquire<'py>(py: Python<'py>, array: *mut PyArrayObject) -> Result<(), Bo
186186}
187187
188188pub fn acquire_mut < ' py > ( py : Python < ' py > , array : * mut PyArrayObject ) -> Result < ( ) , BorrowError > {
189- let shared = get_or_insert_shared ( py) . expect ( "Interal borrow checking API error" ) ;
189+ let shared = get_or_insert_shared ( py) . expect ( "Internal borrow checking API error" ) ;
190190
191191 let rc = unsafe { ( shared. acquire_mut ) ( shared. flags , array) } ;
192192
@@ -199,15 +199,15 @@ pub fn acquire_mut<'py>(py: Python<'py>, array: *mut PyArrayObject) -> Result<()
199199}
200200
201201pub fn release < ' py > ( py : Python < ' py > , array : * mut PyArrayObject ) {
202- let shared = get_or_insert_shared ( py) . expect ( "Interal borrow checking API error" ) ;
202+ let shared = get_or_insert_shared ( py) . expect ( "Internal borrow checking API error" ) ;
203203
204204 unsafe {
205205 ( shared. release ) ( shared. flags , array) ;
206206 }
207207}
208208
209209pub fn release_mut < ' py > ( py : Python < ' py > , array : * mut PyArrayObject ) {
210- let shared = get_or_insert_shared ( py) . expect ( "Interal borrow checking API error" ) ;
210+ let shared = get_or_insert_shared ( py) . expect ( "Internal borrow checking API error" ) ;
211211
212212 unsafe {
213213 ( shared. release_mut ) ( shared. flags , array) ;
0 commit comments