aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-10-21 12:42:05 +0100
committerGitHub <[email protected]>2019-10-21 12:42:05 +0100
commite4810a302b4badb024d22da50cfa4aae64184493 (patch)
tree8734d9ff3bc11208169b49f8f3845035b8e4556a /docs
parentf9d060bf442edeba0b3f3f28dbe1e6cb19e6303e (diff)
parent24d50ebcd1fabedc8d0c468f8785b0aeb1fb176f (diff)
Merge #2039
2039: Guess macro braces from docs r=matklad a=oxalica Instead of hard-code `vec` to have snippet with bracket `vec![]`, we try to find the "most common used brace kind" from documentation of the macro, which usually contains some example code. It also works better with extern macros. We can suggest braces for `thread_local! {}` now. Co-authored-by: oxalica <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions