1
Fork 0

all: remove trailing spaces

This commit is contained in:
Georg Brandl 2015-09-28 07:11:03 +02:00
parent 15e3774cb4
commit e8f875813d
4 changed files with 6 additions and 6 deletions

View file

@ -95,8 +95,8 @@ fn is_self_sig(sig: &MethodSig) -> bool {
false } else { sig.decl.inputs.len() == 1 }
}
fn check_cmp(cx: &LateContext, span: Span, left: &Expr, right: &Expr, op: &str) {
// check if we are in an is_empty() method
fn check_cmp(cx: &LateContext, span: Span, left: &Expr, right: &Expr, op: &str) {
// check if we are in an is_empty() method
if let Some(name) = get_item_name(cx, left) {
if name.as_str() == "is_empty" { return; }
}