Skip to content

Commit a257d5a

Browse files
committed
Fix "an" usage
1 parent 8aad3a3 commit a257d5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ after_failure:
194194

195195
# Save tagged docker images we created and load them if they're available
196196
# Travis saves caches whether the build failed or not, nuke rustsrc if
197-
# the failure was while updating it (as it may be in an bad state)
197+
# the failure was while updating it (as it may be in a bad state)
198198
# https://github.com/travis-ci/travis-ci/issues/4472
199199
before_cache:
200200
- docker history -q rust-ci |

src/libsyntax/parse/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2707,7 +2707,7 @@ impl<'a> Parser<'a> {
27072707
let (span, e) = self.interpolated_or_expr_span(e)?;
27082708
let span_of_tilde = lo;
27092709
let mut err = self.diagnostic().struct_span_err(span_of_tilde,
2710-
"`~` can not be used as an unary operator");
2710+
"`~` can not be used as a unary operator");
27112711
err.span_label(span_of_tilde, &"did you mean `!`?");
27122712
err.help("use `!` instead of `~` if you meant to perform bitwise negation");
27132713
err.emit();

0 commit comments

Comments
 (0)