Skip to content

Commit 1497b84

Browse files
committed
Stopped taking a reference of a reference.
1 parent a1911e7 commit 1497b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/krate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ impl<'a> NewCrate<'a> {
200200
}
201201

202202
fn validate_license(&mut self, license_file: Option<&str>) -> CargoResult<()> {
203-
if let Some(ref license) = self.license {
203+
if let Some(license) = self.license {
204204
for part in license.split('/') {
205205
license_exprs::validate_license_expr(part)
206206
.map_err(|e| human(&format_args!("{}; see http://opensource.org/licenses \

0 commit comments

Comments
 (0)