chore: fix some comments

Signed-off-by: cuishuang <imcusg@gmail.com>
This commit is contained in:
cuishuang 2024-09-02 18:21:19 +08:00
parent 779d9eee2e
commit 680de15ec3
4 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ macro_rules! define_symbols {
(@WITH_NAME: $($alias:ident = $value:literal,)* @PLAIN: $($name:ident,)*) => {
// Ideally we would be emitting `const` here, but then we no longer have stable addresses
// which is what we are relying on for equality! In the future if consts can refer to
// statics we should swap these for `const`s and have the the string literal being pointed
// statics we should swap these for `const`s and have the string literal being pointed
// to be statics to refer to such that their address is stable.
$(
pub static $name: Symbol = Symbol { repr: TaggedArcPtr::non_arc(&stringify!($name)) };