mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
rustc_metadata: fix typo
This commit is contained in:
parent
b11fbfbf35
commit
f32aa1aef9
@ -386,7 +386,7 @@ impl<'a, 'tcx> TyEncoder for EncodeContext<'a, 'tcx> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Shorthand for `$self.$tables.$table.set_some($def_id.index, $self.lazy_value($value))`, which would
|
// Shorthand for `$self.$tables.$table.set_some($def_id.index, $self.lazy($value))`, which would
|
||||||
// normally need extra variables to avoid errors about multiple mutable borrows.
|
// normally need extra variables to avoid errors about multiple mutable borrows.
|
||||||
macro_rules! record {
|
macro_rules! record {
|
||||||
($self:ident.$tables:ident.$table:ident[$def_id:expr] <- $value:expr) => {{
|
($self:ident.$tables:ident.$table:ident[$def_id:expr] <- $value:expr) => {{
|
||||||
@ -398,7 +398,7 @@ macro_rules! record {
|
|||||||
}};
|
}};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Shorthand for `$self.$tables.$table.set_some($def_id.index, $self.lazy_value($value))`, which would
|
// Shorthand for `$self.$tables.$table.set_some($def_id.index, $self.lazy_array($value))`, which would
|
||||||
// normally need extra variables to avoid errors about multiple mutable borrows.
|
// normally need extra variables to avoid errors about multiple mutable borrows.
|
||||||
macro_rules! record_array {
|
macro_rules! record_array {
|
||||||
($self:ident.$tables:ident.$table:ident[$def_id:expr] <- $value:expr) => {{
|
($self:ident.$tables:ident.$table:ident[$def_id:expr] <- $value:expr) => {{
|
||||||
|
Loading…
Reference in New Issue
Block a user