Skip to content

Commit 16617cc

Browse files
committed
---
yaml --- r: 7817 b: refs/heads/snap-stage3 c: 5166cc2 h: refs/heads/master i: 7815: a085b6d v: v3
1 parent aa7fe3e commit 16617cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 0b9f2a82154a9a8df9691242a8be8a0a0bdbcd9e
4+
refs/heads/snap-stage3: 5166cc29e9fd051845fe68d6c16226b20e0cd105
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/rustdoc/attr_parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,15 +320,15 @@ fn parse_const_long_doc(
320320
fn should_parse_const_short_doc() {
321321
let source = "#[doc = \"description\"]";
322322
let attrs = test::parse_attributes(source);
323-
let attrs = parse_fn(attrs);
323+
let attrs = parse_const(attrs);
324324
assert attrs.desc == some("description");
325325
}
326326

327327
#[test]
328328
fn should_parse_const_long_doc() {
329329
let source = "#[doc(brief = \"a\", desc = \"b\")]";
330330
let attrs = test::parse_attributes(source);
331-
let attrs = parse_fn(attrs);
331+
let attrs = parse_const(attrs);
332332
assert attrs.brief == some("a");
333333
assert attrs.desc == some("b");
334334
}

0 commit comments

Comments
 (0)