fasterthanlime đ on Nostr: Since when did rustfmt start formatting "calls on tuples" like this: ``` { ( ...
Since when did rustfmt start formatting "calls on tuples" like this:
```
{
(
StatusCode::OK,
format!("serve transcoded for {hapa} / {bp}"),
)
.into_http()
}
```
And how do I convince it to simply do
```
{
(
StatusCode::OK,
format!("serve transcoded for {hapa} / {bp}"),
).into_http()
}
```
Instead?
Published at
2024-06-23 11:48:28Event JSON
{
"id": "9c7009380a9273da45676327448d5a2f4552a967ed625880a87d71be6609d5e1",
"pubkey": "854b15b14948bc526e2831c23094808f51ba9202a24140f8aef95ebf533f93a7",
"created_at": 1719143308,
"kind": 1,
"tags": [
[
"proxy",
"https://hachyderm.io/users/fasterthanlime/statuses/112665775886381127",
"activitypub"
]
],
"content": "Since when did rustfmt start formatting \"calls on tuples\" like this:\n\n```\n{\n (\n StatusCode::OK,\n format!(\"serve transcoded for {hapa} / {bp}\"),\n )\n .into_http()\n}\n```\n\nAnd how do I convince it to simply do\n\n```\n{\n (\n StatusCode::OK,\n format!(\"serve transcoded for {hapa} / {bp}\"),\n ).into_http()\n}\n```\n\nInstead?",
"sig": "8ed0d035c3fc1a0b4d32bb12fe5725726bcd1b6f2426574a07bb8f0c3ccd735718d6363f89b506f8590339bdaff2c5817891b9560b6318625dedf7138a865f29"
}