mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
style: Expose and make Clone OriginSetIterator.
MozReview-Commit-ID: AEQLfYy4gDz Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
parent
cad3aff508
commit
a373ed3f9d
2 changed files with 2 additions and 1 deletions
|
@ -78,6 +78,7 @@ impl BitOrAssign<Origin> for OriginSet {
|
|||
|
||||
/// Iterates over the origins present in an `OriginSet`, in order from
|
||||
/// highest priority (author) to lower (user agent).
|
||||
#[derive(Clone)]
|
||||
pub struct OriginSetIterator {
|
||||
set: OriginSet,
|
||||
cur: i8,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue