Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Call PyTuple::as_slice from payload_slice
`&*self` tripped clippy borrow_deref_ref and needless_borrow.

Assisted-by: Grok CLI:grok-4.7
  • Loading branch information
youknowone committed Sep 24, 2026
commit 3bcbf3635b1c7a332f89543ada3e186350998899
2 changes: 1 addition & 1 deletion crates/vm/src/builtins/tuple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ impl<R> Py<PyTuple<R>> {
/// Element slice of the tuple payload.
#[inline]
pub fn payload_slice(&self) -> &[R] {
(&*self).as_slice()
PyTuple::as_slice(self)
}
}

Expand Down
Loading