mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
followup: Add a comment regarding why a type is generic.
Bug: 1462829 Rubber-stamped-by: xidorn MozReview-Commit-ID: 5DE8W2n1NP
This commit is contained in:
parent
f82bf81f8e
commit
5fc6b47d74
1 changed files with 4 additions and 0 deletions
|
@ -119,6 +119,10 @@
|
|||
use values::computed::ComputedVecIter;
|
||||
|
||||
/// The generic type defining the value for this property.
|
||||
///
|
||||
/// Making this type generic allows the compiler to figure out the
|
||||
/// animated value for us, instead of having to implement it
|
||||
/// manually for every type we care about.
|
||||
% if separator == "Comma":
|
||||
#[css(comma)]
|
||||
% endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue