mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
[ty] Update salsa (#17964)
This commit is contained in:
parent
12ce445ff7
commit
6cd8a49638
35 changed files with 187 additions and 234 deletions
|
@ -37,7 +37,7 @@ pub(crate) struct Unpack<'db> {
|
|||
/// The target expression that is being unpacked. For example, in `(a, b) = (1, 2)`, the target
|
||||
/// expression is `(a, b)`.
|
||||
#[no_eq]
|
||||
#[return_ref]
|
||||
#[returns(deref)]
|
||||
#[tracked]
|
||||
pub(crate) target: AstNodeRef<ast::Expr>,
|
||||
|
||||
|
@ -102,7 +102,7 @@ impl<'db> UnpackValue<'db> {
|
|||
|
||||
/// Returns the expression as an [`AnyNodeRef`].
|
||||
pub(crate) fn as_any_node_ref(self, db: &'db dyn Db) -> AnyNodeRef<'db> {
|
||||
self.expression().node_ref(db).node().into()
|
||||
self.expression().node_ref(db).into()
|
||||
}
|
||||
|
||||
pub(crate) const fn kind(self) -> UnpackKind {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue