fix naming
This commit is contained in:
parent
750a800c08
commit
bc4d727ffd
@ -45,7 +45,7 @@ pub fn get_license_from_string(s: &str) -> ResultType<License> {
|
|||||||
host = strs2[0];
|
host = strs2[0];
|
||||||
key = strs2[1];
|
key = strs2[1];
|
||||||
} else {
|
} else {
|
||||||
host = strs[0];
|
host = strs[1];
|
||||||
}
|
}
|
||||||
return Ok(License {
|
return Ok(License {
|
||||||
host: host.to_owned(),
|
host: host.to_owned(),
|
||||||
|
Loading…
Reference in New Issue
Block a user