Skip to content

Commit 77acf7b

Browse files
committed
Use the lowercase version of the box syntax
1 parent 55e7f9b commit 77acf7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_trans/trans/debuginfo/metadata.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ impl<'tcx> TypeMap<'tcx> {
151151
// mut reference (&mut) -> {&mut :pointee-uid:}
152152
// ptr (*) -> {* :pointee-uid:}
153153
// mut ptr (*mut) -> {*mut :pointee-uid:}
154-
// unique ptr (Box) -> {Box :pointee-uid:}
154+
// unique ptr (box) -> {box :pointee-uid:}
155155
// @-ptr (@) -> {@ :pointee-uid:}
156156
// sized vec ([T; x]) -> {[:size:] :element-uid:}
157157
// unsized vec ([T]) -> {[] :element-uid:}
@@ -200,7 +200,7 @@ impl<'tcx> TypeMap<'tcx> {
200200
}
201201
},
202202
ty::ty_uniq(inner_type) => {
203-
unique_type_id.push_str("Box ");
203+
unique_type_id.push_str("box ");
204204
let inner_type_id = self.get_unique_type_id_of_type(cx, inner_type);
205205
let inner_type_id = self.get_unique_type_id_as_string(inner_type_id);
206206
unique_type_id.push_str(&inner_type_id[..]);

0 commit comments

Comments
 (0)