Fix a typo in a comment.

This commit is contained in:
Dan Gohman
2018-03-08 02:26:15 -08:00
parent ee0bce4106
commit 6cf9bf36b8

View File

@@ -225,7 +225,7 @@ impl<'a> Encodings<'a> {
self.legalize_actions[self.legalize as usize] self.legalize_actions[self.legalize as usize]
} }
/// Check if the `rpred` recipe predicate s satisfied. /// Check if the `rpred` recipe predicate is satisfied.
fn check_recipe(&self, rpred: RecipePredicate) -> bool { fn check_recipe(&self, rpred: RecipePredicate) -> bool {
match rpred { match rpred {
Some(p) => p(self.isa_preds, self.inst), Some(p) => p(self.isa_preds, self.inst),