Skip to content

Commit

Permalink
Update crates/bevy_ui/src/ui_node.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
  • Loading branch information
ickshonpe and alice-i-cecile committed Mar 1, 2023
1 parent e5a6144 commit 035f0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ui/src/ui_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl Val {
/// `Breadth` is used to represent distances from side to side that the UI layout algorithm
/// cannot infer automatically.
///
/// `Breadth` is similar to the `Val` enum except that it has no non-evaluatable variants
/// `Breadth` is similar to the [`Val`] enum except that it has no non-evaluatable variants
/// and its methods have been adapted to to reflect that they always have a defined output.
/// For example, [`Val::try_add_with_size`] can return an error, but `Breadth`'s equivalent
/// returns an `f32` and is renamed to [`Breadth::add_with_size`].
Expand Down

0 comments on commit 035f0dc

Please sign in to comment.