implement copy for eval (#4655)

This commit is contained in:
Evan Almloff authored and GitHub committed 2025-09-12 08:20:03 -05:00
1 parent a9ef9af980
commit 539ede2041
1 file changed
+8
+8
View File
@@ -57,6 +57,14 @@ impl IntoFuture for Eval {
}
}
impl Clone for Eval {
fn clone(&self) -> Self {
*self
}
}
impl Copy for Eval {}
/// The platform's evaluator.
pub trait Evaluator {
/// Sends a message to the evaluated JavaScript.