mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix some warnings new in Rust Nightly
This commit is contained in:
parent
f2e7b4ec8c
commit
94b19beefb
8 changed files with 10 additions and 14 deletions
|
@ -48,7 +48,7 @@ type ComputedVariationValue = VariationValue<Number>;
|
|||
|
||||
// FIXME: Could do a rename, this is only used for font variations.
|
||||
struct FontSettingTagIterState<'a> {
|
||||
tags: Vec<(&'a ComputedVariationValue)>,
|
||||
tags: Vec<&'a ComputedVariationValue>,
|
||||
index: usize,
|
||||
prev_tag: FontTag,
|
||||
}
|
||||
|
|
|
@ -302,10 +302,8 @@ pub trait ToComputedValue {
|
|||
|
||||
/// Convert a specified value to a computed value, using itself and the data
|
||||
/// inside the `Context`.
|
||||
#[inline]
|
||||
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue;
|
||||
|
||||
#[inline]
|
||||
/// Convert a computed value to specified value form.
|
||||
///
|
||||
/// This will be used for recascading during animation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue