Skip to content

Commit ae58826

Browse files
committed
Removed hard linebreaks in doc comments for the BreakLineOn variants
1 parent 901bfd5 commit ae58826

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

crates/bevy_text/src/text.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,13 @@ impl Default for TextStyle {
178178
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Reflect, Serialize, Deserialize)]
179179
#[reflect(Serialize, Deserialize)]
180180
pub enum BreakLineOn {
181-
/// Uses the [Unicode Line Breaking Algorithm](https://www.unicode.org/reports/tr14/).<br/>
182-
/// Lines will be broken up at the nearest suitable word boundary, usually a space.<br/>
183-
/// This behaviour suits most cases, as it keeps words intact across linebreaks.<br/>
181+
/// Uses the [Unicode Line Breaking Algorithm](https://www.unicode.org/reports/tr14/).
182+
/// Lines will be broken up at the nearest suitable word boundary, usually a space.
183+
/// This behaviour suits most cases, as it keeps words intact across linebreaks.
184184
WordBoundary,
185-
/// Lines will be broken without discrimination on any character that would leave bounds.<br/>
186-
/// This is closer to the behaviour one might expect from text in a terminal. <br/>
187-
/// However it may lead to words being broken up across linebreaks<br />
185+
/// Lines will be broken without discrimination on any character that would leave bounds.
186+
/// This is closer to the behaviour one might expect from text in a terminal.
187+
/// However it may lead to words being broken up across linebreaks.
188188
AnyCharacter,
189189
}
190190

0 commit comments

Comments
 (0)