mirror of
https://github.com/servo/servo.git
synced 2025-07-25 16:20:36 +01:00
style: Add a comment about why the raw pointer is ok.
This commit is contained in:
parent
31079e2e3d
commit
d7a3bec6d7
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ where
|
||||||
{
|
{
|
||||||
guard: &'a SharedRwLockReadGuard<'b>,
|
guard: &'a SharedRwLockReadGuard<'b>,
|
||||||
origins_dirty: OriginSetIterator,
|
origins_dirty: OriginSetIterator,
|
||||||
|
// NB: Bound to the StylesheetSet lifetime when constructed, see
|
||||||
|
// StylesheetSet::flush.
|
||||||
collections: *mut PerOrigin<SheetCollection<S>>,
|
collections: *mut PerOrigin<SheetCollection<S>>,
|
||||||
current: Option<slice::IterMut<'a, StylesheetSetEntry<S>>>,
|
current: Option<slice::IterMut<'a, StylesheetSetEntry<S>>>,
|
||||||
origin_data_validity: PerOrigin<OriginValidity>,
|
origin_data_validity: PerOrigin<OriginValidity>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue