attr_fn_like_width to 60

note the default is documented as 70 but this was not being honored by rustfmt

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-04-24 02:00:00 +00:00
1 parent 76509830e6
commit 5bcf3550ab
19 files changed
+190 -42

No files matched your search

+12 -3
View File
@@ -14,7 +14,10 @@ use crate::{
};
#[test]
#[cfg_attr(debug_assertions, should_panic(expected = "serializing string at the top-level"))]
#[cfg_attr(
debug_assertions,
should_panic(expected = "serializing string at the top-level")
)]
fn ser_str() {
let user_id: &UserId = "@user:example.com".try_into().unwrap();
let s = serialize_to_vec(&user_id).expect("failed to serialize user_id");
@@ -162,7 +165,10 @@ fn ser_json_macro() {
}
#[test]
#[cfg_attr(debug_assertions, should_panic(expected = "serializing string at the top-level"))]
#[cfg_attr(
debug_assertions,
should_panic(expected = "serializing string at the top-level")
)]
fn ser_json_raw() {
use tuwunel_core::ruma::api::client::filter::FilterDefinition;
@@ -179,7 +185,10 @@ fn ser_json_raw() {
}
#[test]
#[cfg_attr(debug_assertions, should_panic(expected = "you can skip serialization instead"))]
#[cfg_attr(
debug_assertions,
should_panic(expected = "you can skip serialization instead")
)]
fn ser_json_raw_json() {
use tuwunel_core::ruma::api::client::filter::FilterDefinition;