Fixes for doc-links

This commit is contained in:
dbr 2023-01-16 18:57:16 +10:30
parent 5a43f28257
commit c0f9035ec9
2 changed files with 4 additions and 4 deletions

View File

@ -420,8 +420,8 @@ impl<'ui> Ui {
InputText::new(self, label, buf)
}
/// Edits text in a multi line widget. Similar to [`input_text`]
/// but requires specifying a size. [`Ui::content_region_avail`]
/// Edits text in a multi line widget. Similar to [`Self::input_text`]
/// but requires specifying a size. [`Self::content_region_avail`]
/// can be useful to make this take up all avaialble space
#[doc(alias = "InputText", alias = "InputTextMultiline")]
pub fn input_text_multiline<'p, L: AsRef<str>>(

View File

@ -35,7 +35,7 @@ impl UiBuffer {
}
}
/// Helper method, same as [`scratch_txt`] but for two strings
/// Helper method, same as [`Self::scratch_txt`] but for two strings
pub fn scratch_txt_two(
&mut self,
txt_0: impl AsRef<str>,
@ -45,7 +45,7 @@ impl UiBuffer {
(self.push(txt_0), self.push(txt_1))
}
/// Helper method, same as [`scratch_txt`] but with one optional value
/// Helper method, same as [`Self::scratch_txt`] but with one optional value
pub fn scratch_txt_with_opt(
&mut self,
txt_0: impl AsRef<str>,