summaryrefslogtreecommitdiffstats
path: root/native/src/renderer/null.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/renderer/null.rs')
-rw-r--r--native/src/renderer/null.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/native/src/renderer/null.rs b/native/src/renderer/null.rs
index e57841f4..263b38a9 100644
--- a/native/src/renderer/null.rs
+++ b/native/src/renderer/null.rs
@@ -1,5 +1,5 @@
use crate::renderer::{self, Renderer};
-use crate::widget::text;
+use crate::text::{self, Text};
use crate::{Font, Point, Rectangle, Size, Vector};
/// A renderer that does nothing.
@@ -30,7 +30,7 @@ impl Renderer for Null {
fn fill_rectangle(&mut self, _quad: renderer::Quad) {}
}
-impl renderer::Text for Null {
+impl text::Renderer for Null {
type Font = Font;
const ICON_FONT: Font = Font::Default;
@@ -63,5 +63,5 @@ impl renderer::Text for Null {
None
}
- fn fill_text(&mut self, _text: renderer::text::Section<'_, Self::Font>) {}
+ fn fill_text(&mut self, _text: Text<'_, Self::Font>) {}
}