Solve 50+ cargo doc warnings (#24071)

Release Notes:

- N/A
This commit is contained in:
João Marcos
2025-02-01 06:19:29 +00:00
committed by GitHub
parent 39d45bcbc1
commit 5bd7eaa173
35 changed files with 99 additions and 89 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ pub enum ElevationIndex {
EditorSurface,
/// A surface that is elevated above the primary surface. but below washes, models, and dragged elements.
ElevatedSurface,
/// A surface above the [ElevationIndex::Wash] that is used for dialogs, alerts, modals, etc.
/// A surface above the [ElevationIndex::ElevatedSurface] that is used for dialogs, alerts, modals, etc.
ModalSurface,
}
+1 -1
View File
@@ -24,7 +24,7 @@ pub trait StyledTypography: Styled + Sized {
self.font_family(ui_font_family)
}
/// Sets the text size using a [`UiTextSize`].
/// Sets the text size using a [`TextSize`].
fn text_ui_size(self, size: TextSize, cx: &App) -> Self {
self.text_size(size.rems(cx))
}