diff --git a/.vscode/settings.json b/.vscode/settings.json index dbe8e662..8ec1e4aa 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -32,4 +32,5 @@ "--all-targets", "--all-features", ], + "rust-analyzer.showUnlinkedFileNotification": false, } diff --git a/crates/epaint/src/text/fonts.rs b/crates/epaint/src/text/fonts.rs index 7165b265..177c7327 100644 --- a/crates/epaint/src/text/fonts.rs +++ b/crates/epaint/src/text/fonts.rs @@ -348,6 +348,7 @@ impl FontDefinitions { /// If you are using `egui`, use `egui::Context::set_fonts` and `egui::Context::fonts`. /// /// You need to call [`Self::begin_frame`] and [`Self::font_image_delta`] once every frame. +#[derive(Clone)] pub struct Fonts(Arc>); impl Fonts {