Skip to content

Commit 1b3383d

Browse files
sdroegebilelmoussaoui
authored andcommitted
Rename self_ to imp in docs
1 parent e9bad1a commit 1b3383d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gtk4-macros/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ pub fn composite_template_derive(input: TokenStream) -> TokenStream {
221221
/// }
222222
/// #[template_callback]
223223
/// pub fn print_both_labels(&self) {
224-
/// let self_ = self.imp();
225-
/// println!("{} {}", self_.label.label(), self_.button.label().unwrap().as_str());
224+
/// let imp = self.imp();
225+
/// println!("{} {}", imp.label.label(), imp.button.label().unwrap().as_str());
226226
/// }
227227
/// }
228228
///

0 commit comments

Comments
 (0)