diff options
| author | Michael Goulet <michael@errs.io> | 2025-05-12 15:26:28 +0000 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2025-05-13 11:30:39 +0200 |
| commit | 8ce7783c7cfff1f60134a7754db32ea86855dd89 (patch) | |
| tree | ea6d406465045786416ac2ba5a8532af3f67b35f /library | |
| parent | ce6e29679cbfa08e46b64a5ad78974bbb852ee2b (diff) | |
| download | rust-8ce7783c7cfff1f60134a7754db32ea86855dd89.tar.gz rust-8ce7783c7cfff1f60134a7754db32ea86855dd89.zip | |
Format and skip formatting for pin
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/pin.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/core/src/pin.rs b/library/core/src/pin.rs index aa8207f8ff4..ecfa723722d 100644 --- a/library/core/src/pin.rs +++ b/library/core/src/pin.rs @@ -1936,6 +1936,8 @@ unsafe impl<T: ?Sized> PinCoerceUnsized for *mut T {} #[stable(feature = "pin_macro", since = "1.68.0")] #[rustc_macro_transparency = "semitransparent"] #[allow_internal_unstable(super_let)] +// `super` gets removed by rustfmt +#[rustfmt::skip] pub macro pin($value:expr $(,)?) { { super let mut pinned = $value; |
