File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ impl Module {
235
235
}
236
236
237
237
pub fn visibility_of ( self , db : & dyn HirDatabase , def : & ModuleDef ) -> Option < Visibility > {
238
- db. crate_def_map ( self . id . krate ) [ self . id . local_id ] . scope . visbility_of ( def. clone ( ) . into ( ) )
238
+ db. crate_def_map ( self . id . krate ) [ self . id . local_id ] . scope . visibility_of ( def. clone ( ) . into ( ) )
239
239
}
240
240
241
241
pub fn diagnostics ( self , db : & dyn HirDatabase , sink : & mut DiagnosticSink ) {
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ impl ItemScope {
68
68
self . impls . iter ( ) . copied ( )
69
69
}
70
70
71
- pub fn visbility_of ( & self , def : ModuleDefId ) -> Option < Visibility > {
71
+ pub fn visibility_of ( & self , def : ModuleDefId ) -> Option < Visibility > {
72
72
self . name_of ( ItemInNs :: Types ( def) )
73
73
. or_else ( || self . name_of ( ItemInNs :: Values ( def) ) )
74
74
. map ( |( _, v) | v)
You can’t perform that action at this time.
0 commit comments