mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-20 17:19:59 +00:00
Make some of ruff_python_semantic
pub(crate)
(#5093)
This commit is contained in:
parent
916f0889f8
commit
c992cfa76e
5 changed files with 22 additions and 22 deletions
|
@ -49,11 +49,11 @@ impl<'a> Globals<'a> {
|
|||
builder.finish()
|
||||
}
|
||||
|
||||
pub fn get(&self, name: &str) -> Option<&TextRange> {
|
||||
pub(crate) fn get(&self, name: &str) -> Option<&TextRange> {
|
||||
self.0.get(name)
|
||||
}
|
||||
|
||||
pub fn iter(&self) -> impl Iterator<Item = (&&'a str, &TextRange)> + '_ {
|
||||
pub(crate) fn iter(&self) -> impl Iterator<Item = (&&'a str, &TextRange)> + '_ {
|
||||
self.0.iter()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue