Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Raphaël Gomès
micro-timer
Commits
1a25b8961f10
Commit
ee3e64ad
authored
Jun 02, 2020
by
Raphaël Gomès
Browse files
Get rid of unused warning
parent
6bf5baf7318b
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs/micro-timer-macros/src/lib.rs
View file @
1a25b896
...
...
@@ -67,7 +67,7 @@ fn inner_timed(_attr_ts: TokenStream, fn_ts: TokenStream) -> TokenStream {
outer
.block
=
syn
::
parse2
(
block
)
.unwrap
();
(
quote!
{
#
outer
}
)
quote!
{
#
outer
}
}
fn
parse_function
(
item
:
syn
::
Item
)
->
Result
<
syn
::
ItemFn
,
TokenStream
>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment