mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 04:45:04 +02:00
Fix clippy errors
This commit is contained in:
@ -22,7 +22,7 @@ pub(crate) fn build_cloud_options(
|
||||
url: &Url,
|
||||
) -> Result<Option<CloudOptions>, ShellError> {
|
||||
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),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user