We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1911e7 commit 1497b84Copy full SHA for 1497b84
src/krate.rs
@@ -200,7 +200,7 @@ impl<'a> NewCrate<'a> {
200
}
201
202
fn validate_license(&mut self, license_file: Option<&str>) -> CargoResult<()> {
203
- if let Some(ref license) = self.license {
+ if let Some(license) = self.license {
204
for part in license.split('/') {
205
license_exprs::validate_license_expr(part)
206
.map_err(|e| human(&format_args!("{}; see http://opensource.org/licenses \
0 commit comments