mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-17 07:27:51 +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::ShadowSocks(ShadowSocksOutboundSettings {
|
||||
OutboundSettings::ShadowSocks(ShadowSocksOutboundSettings {
|
||||
servers: vec![ShadowSocksServerObject {
|
||||
address: data.address.clone(),
|
||||
port: data.port,
|
||||
@@ -11,5 +11,5 @@ pub fn create_outbound_settings(data: &RawData) -> OutboundSettings {
|
||||
level: Some(0),
|
||||
method: data.server_method.clone(),
|
||||
}],
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user