fix more typos found by codespell.

This commit is contained in:
Matthias Krüger
2018-02-16 15:56:50 +01:00
parent b298607864
commit 4452446292
69 changed files with 89 additions and 89 deletions

View File

@@ -918,7 +918,7 @@ pub struct Expr {
}
impl Expr {
/// Wether this expression would be valid somewhere that expects a value, for example, an `if`
/// Whether this expression would be valid somewhere that expects a value, for example, an `if`
/// condition.
pub fn returns(&self) -> bool {
if let ExprKind::Block(ref block) = self.node {