1 // rustfmt-wrap_comments: true
2 // Test attributes and doc comments are preserved.
16 fn foo(&mut self) -> isize {
40 // Another comment that needs rewrite because it's tooooooooooooooooooooooooooooooo loooooooooooong.
45 // We want spaces around `=`
46 #[cfg(feature="nightly")]
47 fn f5(self) -> Monkey {}
52 # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ]
58 /// Default path (*nix)
59 #[cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))]
61 #[cfg(target_os = "freertos")]
63 'a' | 'A' => GpioPort { port_address: GPIO_A },
64 'b' | 'B' => GpioPort { port_address: GPIO_B },
68 #[cfg_attr(not(target_os = "freertos"), allow(unused_variables))]