Skip to content

Commit d1a22d0

Browse files
authored
Typo in consts.rs
1 parent 2c84769 commit d1a22d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ impl<'tcx> Const<'tcx> {
306306
match tcx.at(expr.span).lit_to_const(lit_input) {
307307
Ok(c) => return Some(c),
308308
Err(_) if lit_input.ty.has_aliases() => {
309-
// allow the `ty`` to be an alias type, though we cannot handle it here
309+
// allow the `ty` to be an alias type, though we cannot handle it here
310310
return None
311311
},
312312
Err(e) => {

0 commit comments

Comments
 (0)