We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 847e3ee commit b39b81dCopy full SHA for b39b81d
library/core/src/mem/mod.rs
@@ -1377,7 +1377,7 @@ impl<T> SizedTypeProperties for T {}
1377
/// [`offset_of_slice`]: https://doc.rust-lang.org/nightly/unstable-book/language-features/offset-of-slice.html
1378
#[stable(feature = "offset_of", since = "1.77.0")]
1379
#[allow_internal_unstable(builtin_syntax)]
1380
-pub macro offset_of($Container:ty, $($fields:expr)+ $(,)?) {
+pub macro offset_of($container:ty, $($fields:expr)+ $(,)?) {
1381
// The `{}` is for better error messages
1382
- {builtin # offset_of($Container, $($fields)+)}
+ {builtin # offset_of($container, $($fields)+)}
1383
}
0 commit comments