style: Document the value of StyleWasShared's RestyleResult

This commit is contained in:
Emilio Cobos Álvarez 2016-08-10 11:22:08 -07:00
parent 477c3c8c5b
commit d1090065f7
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -413,7 +413,9 @@ pub enum StyleSharingResult<ConcreteRestyleDamage: TRestyleDamage> {
/// We didn't find anybody to share the style with.
CannotShare,
/// The node's style can be shared. The integer specifies the index in the
/// LRU cache that was hit and the damage that was done.
/// LRU cache that was hit and the damage that was done, and the restyle
/// result the original result of the candidate's styling, that is, whether
/// it should stop the traversal or not.
StyleWasShared(usize, ConcreteRestyleDamage, RestyleResult),
}