☰
rustfmt_nightly
1.75.0-dev
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
filtered_str_fits
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
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
?
Function
rustfmt_nightly
::
utils
::
first_line_ends_with
source
·
[
−
]
pub(crate) fn first_line_ends_with(s: &
str
, c:
char
) ->
bool