mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
update comment
This commit is contained in:
parent
1fbcfcfff0
commit
2e7df281a9
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ pub struct Scope {
|
|||
impl Scope {
|
||||
// Constructors
|
||||
|
||||
/// Create new `Self` for given `url` string
|
||||
/// * check URI parts required for valid `Scope` build
|
||||
/// 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<Self, Error> {
|
||||
match Uri::parse(url, UriFlags::NONE) {
|
||||
Ok(uri) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue