mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:44:56 +00:00
[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.
This commit is contained in:
parent
865a9b3424
commit
5e6ad849ff
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ impl ModuleResolveMode {
|
||||||
/// This query should not be called directly. Instead, use [`resolve_module`]. It only exists
|
/// This query should not be called directly. Instead, use [`resolve_module`]. It only exists
|
||||||
/// because Salsa requires the module name to be an ingredient.
|
/// because Salsa requires the module name to be an ingredient.
|
||||||
#[salsa::tracked(heap_size=get_size2::GetSize::get_heap_size)]
|
#[salsa::tracked(heap_size=get_size2::GetSize::get_heap_size)]
|
||||||
pub(crate) fn resolve_module_query<'db>(
|
fn resolve_module_query<'db>(
|
||||||
db: &'db dyn Db,
|
db: &'db dyn Db,
|
||||||
module_name: ModuleNameIngredient<'db>,
|
module_name: ModuleNameIngredient<'db>,
|
||||||
) -> Option<Module<'db>> {
|
) -> Option<Module<'db>> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue