From 9d40e7f01c183c002c5a03ec4e65bda729d6ca61 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 14 Nov 2024 12:52:18 +0200 Subject: [PATCH] update comment --- src/app/browser/window/tab.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/browser/window/tab.rs b/src/app/browser/window/tab.rs index 76af33ac..432a7502 100644 --- a/src/app/browser/window/tab.rs +++ b/src/app/browser/window/tab.rs @@ -159,8 +159,8 @@ impl Tab { self.widget.close_all(); } - /// Toggle bookmark for page at position or current page on `None` - /// * return `true` on bookmark created, `false` on deleted + /// Toggle `Bookmark` in current `Profile` for `Page` at given `position` (current page on `None`) + /// * return `true` on bookmark created, `false` on deleted; `Error` otherwise. pub fn bookmark(&self, page_position: Option) -> Result { if let Some(page) = self.widget.page(page_position) { if let Some(id) = page.keyword() {