mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 18:57:44 +02:00
Fix clippy errors
This commit is contained in:
@ -22,7 +22,7 @@ pub(crate) fn build_cloud_options(
|
|||||||
url: &Url,
|
url: &Url,
|
||||||
) -> Result<Option<CloudOptions>, ShellError> {
|
) -> Result<Option<CloudOptions>, ShellError> {
|
||||||
match determine_cloud_type(url) {
|
match determine_cloud_type(url) {
|
||||||
Some(CloudType::Aws) => aws::build_cloud_options(plugin).map(|c| Some(c)),
|
Some(CloudType::Aws) => aws::build_cloud_options(plugin).map(Some),
|
||||||
_ => Ok(None),
|
_ => Ok(None),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user