From b9a750303c1068797ed3a8f22ff49c24af737dca Mon Sep 17 00:00:00 2001 From: Mehedi Hasan Date: Sat, 23 Mar 2024 14:02:59 +0600 Subject: [PATCH] fix: remove invalid semicolon from README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 652e84170..371991b4c 100644 --- a/README.md +++ b/README.md @@ -313,7 +313,7 @@ let layout = TextLayout::new() .centered() // Shorthand for centering horizontally and vertically .with_wrap(WrapStyle::Word) // RIL supports word wrapping .with_width(image.width()) // This is the width to wrap text at. Only required if you want to wrap text. - .with_position(x, y); // Position the anchor (which is the center) at the center of the image + .with_position(x, y) // Position the anchor (which is the center) at the center of the image .with_segment(&TextSegment::new(&font, "Here is some ", Rgb::white())) .with_segment(&TextSegment::new(&bold, "bold ", Rgb::white())) .with_segment(&TextSegment::new(&font, "text.", Rgb::white()));