Address lints

Summary: Just going through all the lints that have popped up.

Reviewed By: jknoxville

Differential Revision: D24078571

fbshipit-source-id: 06504aafa969eea92ee934ac607d3daf51e47914
This commit is contained in:
Pascal Hartig
2020-10-02 06:35:43 -07:00
committed by Facebook GitHub Bot
parent 2bbd76803c
commit d477ed7818
4 changed files with 27 additions and 21 deletions

View File

@@ -37,10 +37,9 @@ pub enum PackType {
impl Display for PackType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
use PackType::*;
match *self {
Frameworks => write!(f, "frameworks"),
Core => write!(f, "core"),
Self::Frameworks => write!(f, "frameworks"),
Self::Core => write!(f, "core"),
}
}
}