Docs.rs
rustfmt-nightly-1.1.1
Platform
i686-apple-darwin
i686-pc-windows-msvc
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rustfmt-nightly 1.1.1
Tool to find and fix Rust formatting issues
Crate
Source
Builds
Feature flags
Documentation
Hide files
..
alignment_2633
configs
issue-1210
issue-2179
issue-2482
issue-2917
issue-2977
issue-3055
issue-3213
issue-3227
issue-3270
issue-3272
issue-3278
issue-3295
itemized-blocks
long-fn-1
nested_skipped
nestedmod
path_clarity
single-line-macro
array_comment.rs
assignment.rs
associated-types-bounds-wrapping.rs
async_block.rs
async_fn.rs
attrib.rs
big-impl-block.rs
big-impl-visual.rs
binary-expr.rs
break-and-continue.rs
catch.rs
chains-visual.rs
chains.rs
chains_with_comment.rs
closure-block-inside-macro.rs
closure.rs
comment.rs
comment2.rs
comment3.rs
comment4.rs
comment5.rs
comment6.rs
comment_crlf_newline.rs
const_generics.rs
control-brace-style-always-next-line.rs
control-brace-style-always-same-line.rs
doc-attrib.rs
doc-comment-with-example.rs
doc.rs
dyn_trait.rs
else-if-brace-style-always-next-line.rs
else-if-brace-style-always-same-line.rs
else-if-brace-style-closing-next-line.rs
empty_file.rs
enum.rs
existential_type.rs
expr-block.rs
expr-overflow-delimited.rs
expr.rs
extern.rs
extern_not_explicit.rs
file-lines-1.rs
file-lines-2.rs
file-lines-3.rs
file-lines-4.rs
file-lines-5.rs
file-lines-6.rs
file-lines-item.rs
fn-custom-2.rs
fn-custom-3.rs
fn-custom-4.rs
fn-custom-6.rs
fn-custom-7.rs
fn-custom-8.rs
fn-custom.rs
fn-simple.rs
fn-single-line.rs
fn_args_density-vertical.rs
fn_args_indent-block.rs
hard-tabs.rs
hello.rs
hello2.rs
if_while_or_patterns.rs
immovable_generators.rs
impls.rs
imports-impl-only-use.rs
imports-reorder-lines-and-items.rs
imports-reorder-lines.rs
imports-reorder.rs
imports.rs
imports_block_indent.rs
invalid-rust-code-in-doc-comment.rs
issue-1021.rs
issue-1049.rs
issue-1111.rs
issue-1120.rs
issue-1124.rs
issue-1127.rs
issue-1158.rs
issue-1177.rs
issue-1192.rs
issue-1211.rs
issue-1216.rs
issue-1239.rs
issue-1278.rs
issue-1350.rs
issue-1366.rs
issue-1468.rs
issue-1693.rs
issue-1800.rs
issue-1914.rs
issue-2025.rs
issue-2111.rs
issue-2164.rs
issue-2256.rs
issue-2342.rs
issue-2445.rs
issue-2446.rs
issue-2479.rs
issue-2496.rs
issue-2520.rs
issue-2523.rs
issue-2582.rs
issue-2641.rs
issue-2644.rs
issue-2728.rs
issue-2761.rs
issue-2794.rs
issue-2835.rs
issue-2863.rs
issue-2896.rs
issue-2922.rs
issue-2927-2.rs
issue-2927.rs
issue-2930.rs
issue-2936.rs
issue-2955.rs
issue-2973.rs
issue-2985.rs
issue-3029.rs
issue-3038.rs
issue-3049.rs
issue-3059.rs
issue-3066.rs
issue-3131.rs
issue-3153.rs
issue-3194.rs
issue-3198.rs
issue-3217.rs
issue-3234.rs
issue-3241.rs
issue-3265.rs
issue-3302.rs
issue-3343.rs
issue-3423.rs
issue-447.rs
issue-510.rs
issue-539.rs
issue-683.rs
issue-811.rs
issue-850.rs
issue-855.rs
issue-913.rs
issue-945.rs
issue-977.rs
item-brace-style-always-next-line.rs
item-brace-style-prefer-same-line.rs
item-brace-style-same-line-where.rs
label_break.rs
large-block.rs
large_vec.rs
lazy_static.rs
long-match-arms-brace-newline.rs
long-use-statement-issue-3154.rs
long_field_access.rs
loop.rs
macro_not_expr.rs
macro_rules.rs
macros.rs
markdown-comment-with-options.rs
markdown-comment.rs
match-block-trailing-comma.rs
match-flattening.rs
match-nowrap-trailing-comma.rs
match-nowrap.rs
match.rs
max-line-length-in-chars.rs
merge_imports.rs
mod-1.rs
mod-2.rs
mod_skip_child.rs
multiple.rs
nested-if-else.rs
no_arg_with_commnet.rs
no_new_line_beginning.rs
one_line_if_v1.rs
one_line_if_v2.rs
other.rs
paren.rs
paths.rs
pattern-condense-wildcards.rs
pattern.rs
pub-restricted.rs
remove_blank_lines.rs
reorder-impl-items.rs
single-line-if-else.rs
soft-wrapping.rs
space-not-before-newline.rs
spaces-around-ranges.rs
static.rs
string-lit-2.rs
string-lit.rs
string_punctuation.rs
struct-field-attributes.rs
struct_lits.rs
struct_lits_multiline.rs
struct_lits_visual.rs
struct_lits_visual_multiline.rs
struct_tuple_visual.rs
structs.rs
trailing-comma-never.rs
trailing_commas.rs
trait.rs
try-conversion.rs
tuple.rs
type-ascription.rs
type.rs
type_alias.rs
unions.rs
visibility.rs
visual-fn-type.rs
where-clause-rfc.rs
where-clause.rs
width-heuristics.rs
1
2
3
#!
[
doc
(
html_root_url
=
"
http://example.com
"
)
]
#
[
cfg
(
feature
=
"
foo
"
)
]
fn
a
(
)
{
}