mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 15:07:53 +00:00
chore: resolve rust warning for protocols
This commit is contained in:
@@ -4,7 +4,7 @@ mod parser;
|
||||
fn main() {
|
||||
let protocol = parser::get_uri_protocol("vmess://");
|
||||
match protocol {
|
||||
Some(parser::protocols::Vless) => {
|
||||
Some(parser::Protocols::Vless) => {
|
||||
println!("The protocol was Vless");
|
||||
}
|
||||
Some(_) => {
|
||||
|
||||
Reference in New Issue
Block a user