File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1
1
// rustfmt-wrap_comments: true
2
2
// Test attributes and doc comments are preserved.
3
- #![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
4
- html_favicon_url = "https://doc.rust-lang.org/favicon.ico" ,
5
- html_root_url = "https://doc.rust-lang.org/nightly/" ,
6
- html_playground_url = "https://play.rust-lang.org/" ,
7
- test( attr( deny( warnings) ) ) ) ]
3
+ #![ doc(
4
+ html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
5
+ html_favicon_url = "https://doc.rust-lang.org/favicon.ico" ,
6
+ html_root_url = "https://doc.rust-lang.org/nightly/" ,
7
+ html_playground_url = "https://play.rust-lang.org/" ,
8
+ test( attr( deny( warnings) ) )
9
+ ) ]
8
10
9
11
//! Doc comment
10
12
Original file line number Diff line number Diff line change @@ -156,8 +156,10 @@ pub enum Bencoding<'i> {
156
156
pub enum CoreResourceMsg {
157
157
SetCookieForUrl (
158
158
ServoUrl ,
159
- #[ serde( deserialize_with = "::hyper_serde::deserialize" ,
160
- serialize_with = "::hyper_serde::serialize" ) ]
159
+ #[ serde(
160
+ deserialize_with = "::hyper_serde::deserialize" ,
161
+ serialize_with = "::hyper_serde::serialize"
162
+ ) ]
161
163
Cookie ,
162
164
CookieSource ,
163
165
) ,
@@ -221,7 +223,9 @@ enum State {
221
223
// #2190
222
224
#[ derive( Debug , Fail ) ]
223
225
enum AnError {
224
- #[ fail( display = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" ) ]
226
+ #[ fail(
227
+ display = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
228
+ ) ]
225
229
UnexpectedSingleToken { token : syn:: Token } ,
226
230
}
227
231
You can’t perform that action at this time.
0 commit comments