We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
where
The following is rustfmt's formatting on 2025-02-17 4d91de4e48 (the version currently on the Rust Playground):
impl<'a, T, I> Ptr<'a, T, I> where T: 'a + TransparentWrapper<I, UnsafeCellVariance = Covariant> + ?Sized, I: Invariants, { pub(crate) fn transparent_wrapper_into_inner( self, ) -> Ptr< 'a, T::Inner, ( I::Aliasing, <T::AlignmentVariance as AlignmentVariance<I::Alignment>>::Applied, <T::ValidityVariance as ValidityVariance<I::Validity>>::Applied, ), > where { } }
The where clause should probably be indented by four spaces.
Also note that, when wrapped in a module, the where clause is still not indented at all:
mod foo { impl<'a, T, I> Ptr<'a, T, I> where T: 'a + TransparentWrapper<I, UnsafeCellVariance = Covariant> + ?Sized, I: Invariants, { pub(crate) fn transparent_wrapper_into_inner( self, ) -> Ptr< 'a, T::Inner, ( I::Aliasing, <T::AlignmentVariance as AlignmentVariance<I::Alignment>>::Applied, <T::ValidityVariance as ValidityVariance<I::Validity>>::Applied, ), > where { } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following is rustfmt's formatting on 2025-02-17 4d91de4e48 (the version currently on the Rust Playground):
The
where
clause should probably be indented by four spaces.Also note that, when wrapped in a module, the
where
clause is still not indented at all:The text was updated successfully, but these errors were encountered: