From 3ccb20f2f45840ff6b03e61beeadec8d12d256bb Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 27 Jan 2025 16:54:04 +0200 Subject: [PATCH] remove extra const --- src/app/browser/window/tab/item/page/navigation/request.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/browser/window/tab/item/page/navigation/request.rs b/src/app/browser/window/tab/item/page/navigation/request.rs index dd524ac8..d7362c7b 100644 --- a/src/app/browser/window/tab/item/page/navigation/request.rs +++ b/src/app/browser/window/tab/item/page/navigation/request.rs @@ -12,7 +12,6 @@ use gtk::{ use sqlite::Transaction; use std::{cell::Cell, rc::Rc}; -const PLACEHOLDER_TEXT: &str = "URL or search term..."; const PREFIX_DOWNLOAD: &str = "download:"; const PREFIX_SOURCE: &str = "source:"; @@ -62,7 +61,7 @@ impl Request for Entry { fn request(item_action: &Rc, profile: &Rc) -> Self { // Init main widget let entry = Entry::builder() - .placeholder_text(PLACEHOLDER_TEXT) + .placeholder_text("URL or search term...") .secondary_icon_tooltip_text("Go to the location") .hexpand(true) .build();