File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ impl RepositoryManager {
114114 pub fn default_repository ( & self ) -> Ref < Repository > {
115115 let result = unsafe { BNRepositoryManagerGetDefaultRepository ( self . as_raw ( ) ) } ;
116116 assert ! ( !result. is_null( ) ) ;
117- // NOTE result is not onwed , we need to clone it
117+ // NOTE result is not owned , we need to clone it
118118 let default = unsafe { Repository :: from_raw ( ptr:: NonNull :: new ( result) . unwrap ( ) ) } ;
119119 default. to_owned ( )
120120 }
@@ -576,14 +576,14 @@ unsafe impl CoreArrayProviderInner for PluginPlatforms {
576576 }
577577}
578578
579- pub struct PluginDirectorys ;
580- impl CoreArrayProvider for PluginDirectorys {
579+ pub struct PluginDirectories ;
580+ impl CoreArrayProvider for PluginDirectories {
581581 type Raw = * mut ffi:: c_char ;
582582 type Context = ( ) ;
583583 type Wrapped < ' a > = & ' a ffi:: CStr ;
584584}
585585
586- unsafe impl CoreArrayProviderInner for PluginDirectorys {
586+ unsafe impl CoreArrayProviderInner for PluginDirectories {
587587 unsafe fn free ( raw : * mut Self :: Raw , count : usize , _context : & Self :: Context ) {
588588 BNRepositoryFreePluginDirectoryList ( raw, count)
589589 }
You can’t perform that action at this time.
0 commit comments