Skip to content
New issue

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

Unexpected extra space in multi-line tuple struct with pub #6349

Closed
jrose-signal opened this issue Sep 24, 2024 · 2 comments
Closed

Unexpected extra space in multi-line tuple struct with pub #6349

jrose-signal opened this issue Sep 24, 2024 · 2 comments

Comments

@jrose-signal
Copy link

pub struct MyService(
    pub  dependency::Multi<
        Arc<dyn dependency::ServiceWithDebugInfo + Send + Sync>,
        Arc<dyn dependency::ServiceWithDebugInfo + Send + Sync>,
    >,
);

I realize this is kind of a terrible type to begin with, but the extra space after the pub for the field was unexpected. If there's a reason for it, though, please close this!

@ytmimi
Copy link
Contributor

ytmimi commented Sep 24, 2024

Duplicate of #5703, #5525, #5997

@ytmimi ytmimi closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
@jrose-signal
Copy link
Author

🤦 I searched "tuple struct space" and "tuple struct pub". Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants