Change borrowck error 'the the block' -> 'the block'

This commit is contained in:
Ben Blum
2012-08-13 21:53:41 -04:00
parent 1f32c2c5e4
commit 2e1b98d34f
2 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ fn explain_region(cx: ctxt, region: ty::region) -> ~str {
some(ast_map::node_block(blk)) => {
fmt!{"the lifetime %s as defined on %s",
bound_region_to_str(cx, br),
explain_span(cx, ~"the block", blk.span)}
explain_span(cx, ~"block", blk.span)}
}
some(_) | none => {
// this really should not happen