Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rich text #1245

Merged
merged 18 commits into from
Jan 25, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
no_run -> compile_fail
  • Loading branch information
tigregalis committed Jan 24, 2021
commit 55e6caa4841498267c62f41cab4c94787c78d9a1
4 changes: 2 additions & 2 deletions crates/bevy_text/src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub struct Text {
/// This is a transient helper type for basic text (text with only one section).
/// Under the hood we require, use, construct and interact with the new "sectioned" [`Text`] type.
/// Intended usage is:
/// ```no_run
/// ```compile_fail
/// commands.spawn(TextBundle {
/// text: BasicText {
/// value: "hello world!",
Expand All @@ -22,7 +22,7 @@ pub struct Text {
/// });
/// ```
/// or
/// ```no_run
/// ```compile_fail
/// commands.spawn(TextBundle {
/// text: Text::from(BasicText {
/// value: "hello world?",
Expand Down