Format Rust code

¿Es rust-lang/rustfmt apto para principiantes?

En los últimos 30 días, rust-lang/rustfmt fusionó 6 de 17 pull requests de colaboradores externos, y sus mantenedores suelen responder en 1 día. Ahora mismo hay 6 issues aptos para principiantes abiertos.

Estrellas
7.1k
Forks
1.2k
Issues abiertos para principiantes
6
Issues indexados
771
Merge medio
1 d 4 h
PR fusionados (30 d)
20
Lenguaje dominante
Rust
Licencia
Apache-2.0
Último push a GitHub
26/11/2026
Última indexación
19/9/2026
Guía de contribución
Guía de contribución
Código de conducta
Código de conducta
Etiquetas para principiantes
good first issue hacktoberfest

Cómo contribuir a rust-lang/rustfmt

  1. Lee primero la guía de contribución: explica cómo quieren los mantenedores que se propongan, prueben y revisen los cambios.
  2. Lee su código de conducta: se aplica a los issues y pull requests igual que al chat.
  3. Tus contribuciones se publicarán bajo la licencia Apache-2.0 del proyecto.
  4. Elige uno de los 6 issues abiertos aptos para principiantes de abajo y comenta que quieres trabajar en él antes de empezar.

Las issues en las que quizá ya trabaja alguien aparecen al final. Ordenar todo por fecha

  • rustfmt removes trailing line after Markdown list in doc comments
    Abierto
    C-bug needs-triage

    Dificultad 3/5 1-2 días Aptitud para principiantes 70/100

    rust-lang/rustfmt#7274 ·

    Los mantenedores suelen responder en 1 día

  • perpetually increasing indentation in nested macro
    Abierto
    A-macros C-bug I-non-idempotency

    Dificultad 3/5 1-2 días Aptitud para principiantes 72/100

    rust-lang/rustfmt#7269 · 2 comentarios ·

    Los mantenedores suelen responder en 1 día

  • rustfmt insists on making comment lines too long for lists containing URLs
    Abierto
    A-markdown C-bug UO-comment_width UO-wrap_comments

    Dificultad 3/5 1-2 días Aptitud para principiantes 63/100

    rust-lang/rustfmt#7262 ·

    Los mantenedores suelen responder en 1 día

  • rustfmt is off by one for comment length after a `where` keyword
    Abierto
    A-comments A-where-clauses C-bug UO-comment_width UO-wrap_comments

    Dificultad 3/5 1-2 días Aptitud para principiantes 55/100

    rust-lang/rustfmt#7260 ·

    Los mantenedores suelen responder en 1 día

  • rustfmt is off by two for comment length in vertical list pre comments
    Abierto
    C-bug UO-comment_width UO-wrap_comments

    Dificultad 3/5 Medio día Aptitud para principiantes 62/100

    rust-lang/rustfmt#7259 ·

    Los mantenedores suelen responder en 1 día

  • `--file-lines` statement preservation can result in poorly formatted code
    Abierto
    A-statements C-bug C-discussion UO-file_lines

    Dificultad 3/5 1-2 días Aptitud para principiantes 45/100

    rust-lang/rustfmt#7257 · 1 comentario ·

    Los mantenedores suelen responder en 1 día

  • `/* ... */` comments at the end of a block can be rewritten to `/* ... //` with no terminating `*/`
    Abierto
    A-comments C-bug UO-normalize_comments UO-wrap_comments

    Dificultad 3/5 Medio día Aptitud para principiantes 55/100

    rust-lang/rustfmt#7244 · 2 comentarios ·

    Los mantenedores suelen responder en 1 día

  • `max_width` is exceeded by one column when a struct literal's `{` ends the first line
    Abierto
    C-bug SO-max_width

    Dificultad 3/5 1-2 días Aptitud para principiantes 68/100

    rust-lang/rustfmt#7243 ·

    Los mantenedores suelen responder en 1 día

  • Both `--print-config default` and `--print-config current` expect file paths, but accept directory paths
    Abierto
    A-config C-bug SO-print-config

    Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100

    rust-lang/rustfmt#7241 ·

    Los mantenedores suelen responder en 1 día

  • `newline_style=Auto` doesn't report any issue on mixed line endings
    Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
    A-whitespace C-bug SO-newline_style

    Dificultad 4/5 3-5 días Aptitud para principiantes 48/100

    rust-lang/rustfmt#7238 · 5 comentarios ·

    Los mantenedores suelen responder en 1 día

  • `wrap_comments=true` breaks inside inline links breaking it (part 2; inside lists and block quotes)
    Abierto
    A-doc-comments A-intra-doc-links A-markdown C-bug UO-wrap_comments

    Dificultad 3/5 1-2 días Aptitud para principiantes 68/100

    rust-lang/rustfmt#7232 · 1 reacción ·

    Los mantenedores suelen responder en 1 día

  • comment_width should be independent of indent
    Abierto
    C-bug UO-comment_width UO-wrap_comments

    Dificultad 3/5 1-2 días Aptitud para principiantes 45/100

    rust-lang/rustfmt#7230 · 3 comentarios ·

    Los mantenedores suelen responder en 1 día

  • rustfmt can't handle non-UTF-8 input paths
    Abierto
    A-Unicode C-bug P-low

    Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100

    rust-lang/rustfmt#7210 · 5 comentarios ·

    Los mantenedores suelen responder en 1 día

  • Dependency Dashboard
    Abierto
    A-CI

    Dificultad 1/5 Menos de una hora Aptitud para principiantes 1/100

    rust-lang/rustfmt#7205 ·

    Los mantenedores suelen responder en 1 día

  • `struct_field_align_threshold` ignores inline comments before struct literal fields
    Quizá libre de nuevo @tkr-sh la tomó hace 36 días y no hay ningún pull request abierto. Abierto
    C-bug I-poor-formatting UO-struct_field_align_threshold

    Dificultad 4/5 3-5 días Aptitud para principiantes 48/100

    rust-lang/rustfmt#7204 · 4 comentarios · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • `struct_field_align_threshold` counts attributes in the alignment width of struct literal fields
    Quizá libre de nuevo @tkr-sh la tomó hace 36 días y no hay ningún pull request abierto. Abierto
    C-bug I-poor-formatting UO-struct_field_align_threshold

    Dificultad 3/5 1-2 días Aptitud para principiantes 57/100

    rust-lang/rustfmt#7203 · 4 comentarios · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • Investigate `parse_expr`/`parse_lazy_static`/`rewrite_macro` error count handling
    Quizá libre de nuevo @jieyouxu la tomó hace 40 días y no hay ningún pull request abierto. Abierto
    A-macros A-parser C-bug E-needs-investigation

    rust-lang/rustfmt#7201 · 1 reacción · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • Some paren rewrite handling / `stmt_expr_attributes` formatting could be improved
    Abierto
    A-attributes A-statements C-bug I-poor-formatting

    Dificultad 3/5 1-2 días Aptitud para principiantes 58/100

    rust-lang/rustfmt#7193 · 2 comentarios ·

    Los mantenedores suelen responder en 1 día

  • Tracking issue for making our debug traces more structured
    Quizá libre de nuevo @jieyouxu la tomó hace 44 días y no hay ningún pull request abierto. Abierto
    C-tracking-issue

    rust-lang/rustfmt#7189 · 1 reacción · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • Comment in empty generic arg in macro context is unexpectedly removed
    Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
    A-comments A-generics A-macros C-bug I-unexpectedly-removes-code

    Dificultad 3/5 1-2 días Aptitud para principiantes 45/100

    rust-lang/rustfmt#7182 · 1 reacción ·

    Los mantenedores suelen responder en 1 día

  • Reset error counts on synthetic parser constructions
    Quizá libre de nuevo @jieyouxu la tomó hace 47 días y no hay ningún pull request abierto. Abierto
    A-macros A-parser C-bug E-needs-investigation

    rust-lang/rustfmt#7180 · 1 reacción · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • Nested empty use tree formatting is non-idempotent
    Abierto
    A-imports C-bug E-hard I-non-idempotency X-impacts-stable-default-format

    Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100

    rust-lang/rustfmt#7173 · 1 comentario ·

    Los mantenedores suelen responder en 1 día

  • rustfmt gives legal length comments a ragged edge in argument lists
    Quizá libre de nuevo @matthewhughes934 la tomó hace 51 días y no hay ningún pull request abierto. Abierto
    A-comments C-bug UO-comment_width UO-wrap_comments

    Dificultad 3/5 1-2 días Aptitud para principiantes 65/100

    rust-lang/rustfmt#7167 · 8 comentarios · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • Visual indent doesn't account for comments when overflowing final list item
    Abierto
    A-comments C-bug only-with-option UO-indent_style

    Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100

    rust-lang/rustfmt#7163 ·

    Los mantenedores suelen responder en 1 día

  • Formatting config option: `force_explicit_return`
    Abierto
    C-feature-request P-low

    Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100

    rust-lang/rustfmt#7155 ·

    Los mantenedores suelen responder en 1 día

  • We don't consistently handle overflows and numeric `as`-casts robustly
    Abierto
    A-robustness C-bug

    Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100

    rust-lang/rustfmt#7151 · 1 comentario ·

    Los mantenedores suelen responder en 1 día

  • `imports_granularity` adds extra import due to empty `{}` import
    Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
    A-imports C-bug I-changes-semantics only-with-option UO-imports_granularity

    Dificultad 3/5 1-2 días Aptitud para principiantes 68/100

    rust-lang/rustfmt#7140 · 4 comentarios ·

    Los mantenedores suelen responder en 1 día

  • Rustfmt removes trailing `::self` unconditionally
    Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
    A-imports A-resolve C-bug I-invalid-code S-has-mcve X-impacts-stable-default-format

    Dificultad 3/5 1-2 días Aptitud para principiantes 65/100

    rust-lang/rustfmt#7138 · 2 comentarios · 1 reacción ·

    Los mantenedores suelen responder en 1 día

  • Fix `first_line_width` to be tab-aware
    Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
    A-tabs A-whitespace C-bug SO-hard_tabs

    Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100

    rust-lang/rustfmt#7122 ·

    Los mantenedores suelen responder en 1 día

  • Check `filtered_str_fit` for tab handling
    Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
    A-tabs A-whitespace C-bug SO-hard_tabs

    Dificultad 3/5 1-2 días Aptitud para principiantes 52/100

    rust-lang/rustfmt#7121 ·

    Los mantenedores suelen responder en 1 día

  • [Feature Request] Allow configurable number of blank lines before control structures
    Abierto
    C-feature-request P-low

    Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100

    rust-lang/rustfmt#7120 · 1 reacción ·

    Los mantenedores suelen responder en 1 día

  • Nested call chains have weird formatting
    Abierto
    A-AST C-bug I-poor-formatting

    Dificultad 3/5 1-2 días Aptitud para principiantes 68/100

    rust-lang/rustfmt#7119 · 3 comentarios ·

    Los mantenedores suelen responder en 1 día

  • Look for config in `.cargo/rustfmt.toml` and `.config/rustfmt.toml`
    Abierto
    C-feature-request P-low

    Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100

    rust-lang/rustfmt#7114 · 4 reacciones ·

    Los mantenedores suelen responder en 1 día

  • Closure parameter wrapping appears to ignore block-prefix width
    Abierto
    A-async-blocks A-blocks A-closures A-gen-blocks C-bug SO-max_width

    Dificultad 3/5 1-2 días Aptitud para principiantes 72/100

    rust-lang/rustfmt#7113 · 5 comentarios ·

    Los mantenedores suelen responder en 1 día

  • Tests for --file-lines
    Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
    A-test-harness A-test-suite C-discussion

    Dificultad 3/5 1-2 días Aptitud para principiantes 68/100

    rust-lang/rustfmt#7112 · 3 comentarios ·

    Los mantenedores suelen responder en 1 día

  • Block doc comment without continuing asterisk (`*`) doesn't align asterisk in starter/closer
    Abierto
    A-doc-comments C-discussion

    Dificultad 3/5 1-2 días Aptitud para principiantes 64/100

    rust-lang/rustfmt#7109 ·

    Los mantenedores suelen responder en 1 día

  • rustfmt does not format panic! macro under a specific circumstance
    Abierto
    A-strings C-bug I-max-width

    Dificultad 4/5 3-5 días Aptitud para principiantes 58/100

    rust-lang/rustfmt#7102 · 2 comentarios ·

    Los mantenedores suelen responder en 1 día

  • Rewriting `r#try!` at root of chain generates bad code
    Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
    A-AST A-chains A-comments A-raw-idents C-bug I-invalid-code SO-use_try_shorthand

    Dificultad 3/5 1-2 días Aptitud para principiantes 68/100

    rust-lang/rustfmt#7101 · 3 comentarios ·

    Los mantenedores suelen responder en 1 día

  • Chains of functions with a comment on the last function do not format
    Abierto
    A-AST A-chains A-comments C-bug I-poor-formatting

    Dificultad 3/5 1-2 días Aptitud para principiantes 68/100

    rust-lang/rustfmt#7086 · 2 comentarios ·

    Los mantenedores suelen responder en 1 día

  • `#[rustfmt::skip]` attribute skips extra lines
    Abierto
    A-rustfmt::skip A-whitespace C-bug E-hard E-medium

    Dificultad 3/5 1-2 días Aptitud para principiantes 75/100

    rust-lang/rustfmt#7076 · 4 comentarios · 1 reacción ·

    Los mantenedores suelen responder en 1 día

  • --file-lines can trip up trailing whitespace validity check
    Quizá libre de nuevo @saberoueslati la tomó hace 91 días y no hay ningún pull request abierto. Abierto
    C-bug I-trailing-whitespace only-with-option UO-error_on_unformatted UO-file_lines

    rust-lang/rustfmt#7071 · 2 comentarios · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • normalize_doc_attributes + wrap_comments can leave trailing whitespace
    Abierto
    A-doc-comments C-bug I-trailing-whitespace UO-normalize_doc_attributes UO-wrap_comments

    Dificultad 3/5 1-2 días Aptitud para principiantes 68/100

    rust-lang/rustfmt#7069 · 9 comentarios ·

    Los mantenedores suelen responder en 1 día

  • comma is removed from `#[cfg_attr(` which causes syntax error
    Abierto
    A-attributes A-cfg C-bug I-invalid-code

    Dificultad 3/5 1-2 días Aptitud para principiantes 68/100

    rust-lang/rustfmt#7058 · 5 comentarios ·

    Los mantenedores suelen responder en 1 día

  • rustfmt losing comments, weird-exprs edition
    Abierto
    A-comments C-bug E-needs-mcve I-unexpectedly-removes-code P-low

    Dificultad 4/5 3-5 días Aptitud para principiantes 58/100

    rust-lang/rustfmt#7052 · 5 comentarios ·

    Los mantenedores suelen responder en 1 día

  • Make sure our CI workflows build with `--locked`
    Quizá libre de nuevo @jieyouxu la tomó hace 101 días y no hay ningún pull request abierto. Abierto
    A-CI A-supply-chain-security C-bug

    rust-lang/rustfmt#7037 · 8 comentarios · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • [ICE with debug-assertions]: Span must not be empty and have no suggestion
    Quizá libre de nuevo @saberoueslati la tomó hace 97 días y no hay ningún pull request abierto. Abierto
    A-macros A-parser C-bug I-ICE

    rust-lang/rustfmt#7034 · 8 comentarios · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • [ICE]: `Request to format inverted span`
    Quizá libre de nuevo @aerooneqq la tomó hace 102 días y no hay ningún pull request abierto. Abierto
    C-bug F-fn_delegation I-ICE

    rust-lang/rustfmt#7033 · 8 comentarios · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • Alignment of horizontally-formatted enum struct variants
    Abierto
    C-feature-request P-low S-on-hold

    Dificultad 5/5 Más de una semana Aptitud para principiantes 48/100

    rust-lang/rustfmt#6998 · 2 comentarios ·

    Los mantenedores suelen responder en 1 día

  • `rustfmt::skip` sometimes ignored when using `error_on_line_overflow` and `error_on_unformatted`
    Abierto
    C-feature-request UO-error_on_line_overflow UO-error_on_unformatted

    rust-lang/rustfmt#6954 · 11 comentarios · 1 asignado ·

    Los mantenedores suelen responder en 1 día

  • allow streaming formatting
    Abierto
    C-feature-request P-low

    rust-lang/rustfmt#6944 · 4 comentarios · 1 asignado ·

    Los mantenedores suelen responder en 1 día

Mostrando los 100 más recientes

Esta página solo lista lo indexado más recientemente. El filtro avanzado tiene el inventario completo, acotado por lenguaje, dificultad y duración.

Abrir el filtro avanzado

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.