mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Pass InCompartment by value
This commit is contained in:
parent
1b6949d4cf
commit
e2e6e2ac94
26 changed files with 52 additions and 50 deletions
|
@ -17,6 +17,7 @@ impl AlreadyInCompartment {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
pub enum InCompartment<'a> {
|
||||
Already(&'a AlreadyInCompartment),
|
||||
Entered(&'a JSAutoCompartment),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue