Fix cargofmt

This commit is contained in:
Jack OntheGoMac 2021-12-23 13:09:31 -08:00
parent 5cecf3f82c
commit 92f94510c6
2 changed files with 3 additions and 3 deletions

View File

@ -202,7 +202,7 @@ impl Ui {
/// This function right now simply **ends** the current frame, but does not /// This function right now simply **ends** the current frame, but does not
/// return draw data. If you want to end the frame without generated draw data, /// return draw data. If you want to end the frame without generated draw data,
/// and thus save some CPU time, use [`end_frame_early`]. /// and thus save some CPU time, use [`end_frame_early`].
/// ///
/// [`end_frame_early`]: Self::end_frame_early /// [`end_frame_early`]: Self::end_frame_early
#[deprecated( #[deprecated(
since = "0.9.0", since = "0.9.0",
@ -570,7 +570,7 @@ impl<'ui> Ui {
InputScalar::new(self, label, value) InputScalar::new(self, label, value)
} }
/// Shows a horizontal array of scalar value input fields. See [`input_scalar`]. /// Shows a horizontal array of scalar value input fields. See [`input_scalar`].
/// ///
/// [`input_scalar`]: Self::input_scalar /// [`input_scalar`]: Self::input_scalar
#[doc(alias = "InputScalarN")] #[doc(alias = "InputScalarN")]
pub fn input_scalar_n<'p, L, T>( pub fn input_scalar_n<'p, L, T>(

View File

@ -125,7 +125,7 @@ impl Ui {
/// for simple Menu Items with no features on them. /// for simple Menu Items with no features on them.
/// ///
/// Note: a `menu_item` is the actual button/selectable within a Menu. /// Note: a `menu_item` is the actual button/selectable within a Menu.
/// ///
/// [`menu_item`]: Self::menu_item /// [`menu_item`]: Self::menu_item
#[doc(alias = "MenuItem")] #[doc(alias = "MenuItem")]
pub fn menu_item_config<L: AsRef<str>>(&self, label: L) -> MenuItem<'_, L> { pub fn menu_item_config<L: AsRef<str>>(&self, label: L) -> MenuItem<'_, L> {