Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): Eliminate has_self util
This commit is contained in:
@@ -906,6 +906,3 @@ pub fn is_self(slf: &Arg) -> bool {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn has_self(slf: &FnDecl) -> bool {
|
||||
slf.inputs.get(0).map(|arg| is_self(&arg)).unwrap_or(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user