diff --git a/imgui/src/lib.rs b/imgui/src/lib.rs index acbb2ad..16282f0 100644 --- a/imgui/src/lib.rs +++ b/imgui/src/lib.rs @@ -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>( diff --git a/imgui/src/string.rs b/imgui/src/string.rs index 7cfe61b..5924832 100644 --- a/imgui/src/string.rs +++ b/imgui/src/string.rs @@ -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, @@ -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,