-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Scrape code examples from examples/ directory for Rustdoc #85833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 22 commits
4b3f82a
7831fee
2855bf0
b6338e7
eea8f0a
55bb517
18edcf8
a1cb194
829b1a9
5c05b3c
df5e3a6
25323ec
55731bb
ed8e12f
5584c79
bb383ed
e22e858
f10dcee
9e4958a
b1616f3
24a71cb
8f80d86
d1c29c6
fd5d614
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -235,6 +235,7 @@ fn build_external_function(cx: &mut DocContext<'_>, did: DefId) -> clean::Functi | |
decl, | ||
generics, | ||
header: hir::FnHeader { unsafety: sig.unsafety(), abi: sig.abi(), constness, asyncness }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note to self: get rid of this later, it can be calculated on-demand from the DefId. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Open an issue to not forget it then. ;) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
def_id: did, | ||
} | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<span class="example"><span class="kw">let</span> <span class="ident">x</span> <span class="op">=</span> <span class="number">1</span>;</span> | ||
<span class="kw">let</span> <span class="ident">y</span> <span class="op">=</span> <span class="number">2</span>; |
Uh oh!
There was an error while loading. Please reload this page.