Skip to content

Commit 5e6ad84

Browse files
committed
[ty] Unexport helper function
I'm not sure if this used to be used elsewhere, but it no longer is. And it looks like an internal-only helper function, so just un-export it. And note that `ModuleNameIngredient` is also un-exported, so this function isn't really usable outside of its defining module anyway.
1 parent 865a9b3 commit 5e6ad84

File tree

1 file changed

+1
-1
lines changed
  • crates/ty_python_semantic/src/module_resolver

1 file changed

+1
-1
lines changed

crates/ty_python_semantic/src/module_resolver/resolver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl ModuleResolveMode {
5252
/// This query should not be called directly. Instead, use [`resolve_module`]. It only exists
5353
/// because Salsa requires the module name to be an ingredient.
5454
#[salsa::tracked(heap_size=get_size2::GetSize::get_heap_size)]
55-
pub(crate) fn resolve_module_query<'db>(
55+
fn resolve_module_query<'db>(
5656
db: &'db dyn Db,
5757
module_name: ModuleNameIngredient<'db>,
5858
) -> Option<Module<'db>> {

0 commit comments

Comments
 (0)