style: Add a comment about why the raw pointer is ok.

This commit is contained in:
Emilio Cobos Álvarez 2017-09-13 19:52:49 +02:00
parent 31079e2e3d
commit d7a3bec6d7
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -115,6 +115,8 @@ where
{
guard: &'a SharedRwLockReadGuard<'b>,
origins_dirty: OriginSetIterator,
// NB: Bound to the StylesheetSet lifetime when constructed, see
// StylesheetSet::flush.
collections: *mut PerOrigin<SheetCollection<S>>,
current: Option<slice::IterMut<'a, StylesheetSetEntry<S>>>,
origin_data_validity: PerOrigin<OriginValidity>,