mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 15:07:53 +00:00
Applied clippy fixes
This commit is contained in:
@@ -3,7 +3,7 @@ mod models;
|
||||
use crate::config_models::*;
|
||||
|
||||
pub fn create_outbound_settings(data: &RawData) -> OutboundSettings {
|
||||
return OutboundSettings::Socks(SocksOutboundSettings {
|
||||
OutboundSettings::Socks(SocksOutboundSettings {
|
||||
servers: vec![SocksServerObject {
|
||||
users: match (&data.username, &data.uuid) {
|
||||
(Some(username), Some(uuid)) => Some(vec![SocksUser {
|
||||
@@ -16,5 +16,5 @@ pub fn create_outbound_settings(data: &RawData) -> OutboundSettings {
|
||||
port: data.port,
|
||||
level: Some(0),
|
||||
}],
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user