mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-02 18:15:37 +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 {
|
impl Scope {
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
/// Create new `Self` for given `url` string
|
/// Create new `Self` for given `url`
|
||||||
/// * check URI parts required for valid `Scope` build
|
/// * external validator MAY decline `Certificate` if `Scope` defined out of protocol range
|
||||||
pub fn from_url(url: &str) -> Result<Self, Error> {
|
pub fn from_url(url: &str) -> Result<Self, Error> {
|
||||||
match Uri::parse(url, UriFlags::NONE) {
|
match Uri::parse(url, UriFlags::NONE) {
|
||||||
Ok(uri) => {
|
Ok(uri) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue