File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: 0b9f2a82154a9a8df9691242a8be8a0a0bdbcd9e
5
+ refs/heads/try: 5166cc29e9fd051845fe68d6c16226b20e0cd105
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -320,15 +320,15 @@ fn parse_const_long_doc(
320
320
fn should_parse_const_short_doc ( ) {
321
321
let source = "#[doc = \" description\" ]" ;
322
322
let attrs = test:: parse_attributes ( source) ;
323
- let attrs = parse_fn ( attrs) ;
323
+ let attrs = parse_const ( attrs) ;
324
324
assert attrs. desc == some ( "description" ) ;
325
325
}
326
326
327
327
#[ test]
328
328
fn should_parse_const_long_doc ( ) {
329
329
let source = "#[doc(brief = \" a\" , desc = \" b\" )]" ;
330
330
let attrs = test:: parse_attributes ( source) ;
331
- let attrs = parse_fn ( attrs) ;
331
+ let attrs = parse_const ( attrs) ;
332
332
assert attrs. brief == some ( "a" ) ;
333
333
assert attrs. desc == some ( "b" ) ;
334
334
}
You can’t perform that action at this time.
0 commit comments