Skip to content

Commit b39b81d

Browse files
committed
Make offset_of! argument lowercase
1 parent 847e3ee commit b39b81d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/mem/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ impl<T> SizedTypeProperties for T {}
13771377
/// [`offset_of_slice`]: https://doc.rust-lang.org/nightly/unstable-book/language-features/offset-of-slice.html
13781378
#[stable(feature = "offset_of", since = "1.77.0")]
13791379
#[allow_internal_unstable(builtin_syntax)]
1380-
pub macro offset_of($Container:ty, $($fields:expr)+ $(,)?) {
1380+
pub macro offset_of($container:ty, $($fields:expr)+ $(,)?) {
13811381
// The `{}` is for better error messages
1382-
{builtin # offset_of($Container, $($fields)+)}
1382+
{builtin # offset_of($container, $($fields)+)}
13831383
}

0 commit comments

Comments
 (0)