about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCarol Nichols <carol.nichols@gmail.com>2015-05-04 21:33:51 -0400
committerCarol Nichols <carol.nichols@gmail.com>2015-05-04 21:33:51 -0400
commit55e7f9b7d680d8085765c7c659351d3efe09ffb8 (patch)
tree2d170e149ff1a3f8b9640f3ad09d3425aa7761f4
parentd3667746d417228f551a91886b7215c9e3038056 (diff)
downloadrust-55e7f9b7d680d8085765c7c659351d3efe09ffb8.tar.gz
rust-55e7f9b7d680d8085765c7c659351d3efe09ffb8.zip
Changing Vec to Box<[T]>
-rw-r--r--src/librustc/middle/expr_use_visitor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/expr_use_visitor.rs b/src/librustc/middle/expr_use_visitor.rs
index 359ea02c1d7..0458bd70346 100644
--- a/src/librustc/middle/expr_use_visitor.rs
+++ b/src/librustc/middle/expr_use_visitor.rs
@@ -1125,7 +1125,7 @@ impl<'d,'t,'tcx,TYPER:mc::Typer<'tcx>> ExprUseVisitor<'d,'t,'tcx,TYPER> {
                         // that case we can adjust the length of the
                         // original vec accordingly, but we'd have to
                         // make trans do the right thing, and it would
-                        // only work for `Vec`s. It seems simpler
+                        // only work for `Box<[T]>`s. It seems simpler
                         // to just require that people call
                         // `vec.pop()` or `vec.unshift()`.
                         let slice_bk = ty::BorrowKind::from_mutbl(slice_mutbl);