diff options
Diffstat (limited to 'src/thread.rs')
-rw-r--r-- | src/thread.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread.rs b/src/thread.rs index 97b0362..2452fec 100644 --- a/src/thread.rs +++ b/src/thread.rs @@ -143,3 +143,9 @@ impl<'lua> Thread<'lua> { } } } + +impl<'lua> PartialEq for Thread<'lua> { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} |