☰
Other items in
rustfmt_nightly
::
utils
Macros
out_of_file_lines_range
skip_out_of_file_lines_range
skip_out_of_file_lines_range_visitor
source
Traits
NodeIdExt
Functions
colon_spaces
contains_skip
count_lf_crlf
count_newlines
depr_skip_annotation
extra_offset
filter_attributes
first_line_contains_single_line_comment
first_line_ends_with
first_line_width
format_async
format_auto
format_constness
format_constness_right
format_defaultness
format_extern
format_mutability
format_unsafety
format_visibility
get_prefix_space_width
indent_next_line
inner_attributes
is_attributes_extendable
is_block_expr
is_empty_line
is_same_visibility
is_single_line
is_skip
is_skip_nested
is_valid_str
last_line_contains_single_line_comment
last_line_extendable
last_line_used_width
last_line_width
left_most_sub_expr
mk_sp
mk_sp_lo_plus_one
outer_attributes
ptr_vec_to_ref_vec
remove_trailing_white_spaces
rewrite_ident
semicolon_for_expr
semicolon_for_stmt
skip_annotation
starts_with_newline
stmt_expr
trim_left_preserve_layout
trimmed_last_line_width
unicode_str_width
wrap_str
ayu
dark
light
All crates
cargo_fmt
coverage_test_macros
git_rustfmt
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_borrowck
rustc_builtin_macros
rustc_codegen_llvm
rustc_codegen_ssa
rustc_const_eval
rustc_data_structures
rustc_driver
rustc_error_codes
rustc_errors
rustc_expand
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer
rustc_interface
rustc_lexer
rustc_lint
rustc_lint_defs
rustc_llvm
rustc_macros
rustc_metadata
rustc_middle
rustc_mir_build
rustc_mir_dataflow
rustc_mir_transform
rustc_monomorphize
rustc_parse
rustc_parse_format
rustc_passes
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system
rustc_resolve
rustc_save_analysis
rustc_serialize
rustc_session
rustc_span
rustc_symbol_mangling
rustc_target
rustc_trait_selection
rustc_traits
rustc_ty_utils
rustc_type_ir
rustc_typeck
rustdoc
rustdoc_json_types
rustfmt
rustfmt_format_diff
rustfmt_nightly
?
Function
rustfmt_nightly
::
utils
::
mk_sp_lo_plus_one
[
−
]
[src]
pub(crate) fn mk_sp_lo_plus_one(lo:
BytePos
) ->
Span