{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/31556","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/31556/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/31556/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/31556/events","html_url":"https://github.com/rust-lang/rust/issues/31556","id":132873847,"number":31556,"title":"`println!(123)` works, but `print!(123)` and `format!(123)` do not","user":{"login":"niconii","id":10183419,"avatar_url":"https://avatars.githubusercontent.com/u/10183419?v=3","gravatar_id":"","url":"https://api.github.com/users/niconii","html_url":"https://github.com/niconii","followers_url":"https://api.github.com/users/niconii/followers","following_url":"https://api.github.com/users/niconii/following{/other_user}","gists_url":"https://api.github.com/users/niconii/gists{/gist_id}","starred_url":"https://api.github.com/users/niconii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niconii/subscriptions","organizations_url":"https://api.github.com/users/niconii/orgs","repos_url":"https://api.github.com/users/niconii/repos","events_url":"https://api.github.com/users/niconii/events{/privacy}","received_events_url":"https://api.github.com/users/niconii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-11T02:33:39Z","updated_at":"2016-02-11T02:33:39Z","closed_at":null,"body":"`println!` uses `concat!($fmt, \"\\n\")` internally, which for literals converts them into a string before concatenating. Because of this, `println!(123)` is accepted.\r\n\r\nThat said, rather than make `println!` as strict as `print!` and `format!`, it would be nice if `format_args!(foo)` could become shorthand for `format_args!(\"{}\", foo)`, somewhat similar to what `panic!` does."}}