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

impl fmt::String for tuples #20816

Closed
milibopp opened this issue Jan 9, 2015 · 2 comments
Closed

impl fmt::String for tuples #20816

milibopp opened this issue Jan 9, 2015 · 2 comments

Comments

@milibopp
Copy link
Contributor

milibopp commented Jan 9, 2015

This does not work:

println!("{}", ());

and neither does this with any tuple atm.

Or is this intentional?

@milibopp milibopp changed the title impl fmt::String for () impl fmt::String for tuples Jan 9, 2015
@alexcrichton
Copy link
Member

This is currently intentional, and I believe that @aturon will open an RFC soon about Show/String conventions, so stay tuned to the RFC repo!

@alexcrichton
Copy link
Member

rust-lang/rfcs#565 (now opened)

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

No branches or pull requests

3 participants