diff --git a/src/app/browser/window/tab/item/page/content/text/gemini/reader.rs b/src/app/browser/window/tab/item/page/content/text/gemini/reader.rs index 01b8b124..bf32364a 100644 --- a/src/app/browser/window/tab/item/page/content/text/gemini/reader.rs +++ b/src/app/browser/window/tab/item/page/content/text/gemini/reader.rs @@ -213,7 +213,7 @@ impl Reader { let tag = TextTag::builder().wrap_mode(WrapMode::Word).build(); buffer.tag_table().add(&tag); - buffer.insert_with_tags(&mut buffer.end_iter(), &line, &[&tag]); + buffer.insert_with_tags(&mut buffer.end_iter(), line, &[&tag]); buffer.insert(&mut buffer.end_iter(), "\n"); } diff --git a/src/app/browser/window/tab/item/page/input.rs b/src/app/browser/window/tab/item/page/input.rs index 5cb49073..6344944c 100644 --- a/src/app/browser/window/tab/item/page/input.rs +++ b/src/app/browser/window/tab/item/page/input.rs @@ -38,7 +38,7 @@ impl Input { size_limit: Option, ) { self.widget.update(Some( - &Response::new_rc(action_page_open, base, title, size_limit).gobject(), + Response::new_rc(action_page_open, base, title, size_limit).gobject(), )); } @@ -50,7 +50,7 @@ impl Input { max_length: Option, ) { self.widget.update(Some( - &Sensitive::new_rc(action_page_open, base, title, max_length).gobject(), + Sensitive::new_rc(action_page_open, base, title, max_length).gobject(), )); }