From 6c88eedd33494b927636976d894c8fde0f623ecd Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 27 Nov 2024 22:23:55 +0200 Subject: [PATCH] update comment --- src/client/certificate/scope.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/certificate/scope.rs b/src/client/certificate/scope.rs index 88963d3..1b80784 100644 --- a/src/client/certificate/scope.rs +++ b/src/client/certificate/scope.rs @@ -6,7 +6,8 @@ use gio::NetworkAddress; use glib::{GString, Uri, UriFlags, UriHideFlags}; /// Scope implement path prefix to apply TLS authorization for -/// * https://geminiprotocol.net/docs/protocol-specification.gmi#status-60 +/// * external validator MAY decline `Certificate` if `Scope` defined out of protocol range +/// * [read more](https://geminiprotocol.net/docs/protocol-specification.gmi#status-60) pub struct Scope { uri: Uri, } @@ -15,7 +16,6 @@ impl Scope { // Constructors /// Create new `Self` for given `url` - /// * external validator MAY decline `Certificate` if `Scope` defined out of protocol range pub fn from_url(url: &str) -> Result { match Uri::parse(url, UriFlags::NONE) { Ok(uri) => {