Skip to content

Commit f1e2abe

Browse files
authored
Unrolled build for rust-lang#120673
Rollup merge of rust-lang#120673 - klensy:typo2, r=compiler-errors rustc_metadata: fix typo
2 parents 4a2fe44 + f32aa1a commit f1e2abe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_metadata/src/rmeta/encoder.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ impl<'a, 'tcx> TyEncoder for EncodeContext<'a, 'tcx> {
386386
}
387387
}
388388

389-
// Shorthand for `$self.$tables.$table.set_some($def_id.index, $self.lazy_value($value))`, which would
389+
// Shorthand for `$self.$tables.$table.set_some($def_id.index, $self.lazy($value))`, which would
390390
// normally need extra variables to avoid errors about multiple mutable borrows.
391391
macro_rules! record {
392392
($self:ident.$tables:ident.$table:ident[$def_id:expr] <- $value:expr) => {{
@@ -398,7 +398,7 @@ macro_rules! record {
398398
}};
399399
}
400400

401-
// Shorthand for `$self.$tables.$table.set_some($def_id.index, $self.lazy_value($value))`, which would
401+
// Shorthand for `$self.$tables.$table.set_some($def_id.index, $self.lazy_array($value))`, which would
402402
// normally need extra variables to avoid errors about multiple mutable borrows.
403403
macro_rules! record_array {
404404
($self:ident.$tables:ident.$table:ident[$def_id:expr] <- $value:expr) => {{

0 commit comments

Comments
 (0)