Skip to content

Commit

Permalink
elid lifetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
krakow10 committed Oct 11, 2024
1 parent 3bbfa78 commit 55242e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rbx_reflection/src/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ impl<'a> ReflectionDatabase<'a> {
/// This mimics the behavior of the Roblox Lua Instance:IsA(ClassName) method.
/// Returns whether superclass_descriptor is a superclass of descriptor.
pub fn class_is_a(
&'a self,
descriptor: &'a ClassDescriptor<'a>,
superclass_descriptor: &'a ClassDescriptor<'a>,
&self,
descriptor: &ClassDescriptor,
superclass_descriptor: &ClassDescriptor,
) -> bool {
self.superclasses_iter(descriptor)
.any(|class_descriptor| class_descriptor.name == superclass_descriptor.name)
Expand Down

0 comments on commit 55242e6

Please sign in to comment.