mirror of
https://github.com/servo/servo.git
synced 2025-09-23 05:10:09 +01:00
cargo: Bump rustc to 1.89 (#36818)
Update Rustc to 1.89. Reviewable by commit. Leftover work: - #37330 - #38777 --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
8587536755
commit
3225d19907
126 changed files with 408 additions and 610 deletions
|
@ -320,7 +320,7 @@ impl FontContext {
|
|||
font_key
|
||||
});
|
||||
|
||||
let key = *self
|
||||
*self
|
||||
.webrender_font_instance_keys
|
||||
.write()
|
||||
.entry((font_key, pt_size, variations.clone()))
|
||||
|
@ -334,8 +334,7 @@ impl FontContext {
|
|||
variations,
|
||||
);
|
||||
font_instance_key
|
||||
});
|
||||
key
|
||||
})
|
||||
}
|
||||
|
||||
fn invalidate_font_groups_after_web_font_load(&self) {
|
||||
|
|
|
@ -606,7 +606,7 @@ impl GlyphStore {
|
|||
pub fn iter_glyphs_for_byte_range(
|
||||
&self,
|
||||
range: &Range<ByteIndex>,
|
||||
) -> impl Iterator<Item = GlyphInfo> + use<'_> {
|
||||
) -> impl Iterator<Item = GlyphInfo<'_>> + use<'_> {
|
||||
if range.begin() >= self.len() {
|
||||
panic!("iter_glyphs_for_range: range.begin beyond length!");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue