Tracking issue for release notes of #164653: Deprecate internal function `vec::from_elem`

Abierto Apto para principiantes
#165,477 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
72/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
release

Línea de trabajo

Lee las indicaciones sobre las release notes enlazadas en el issue y compara el borrador con versiones anteriores. Actualiza la categoría y la nota de versión concisa sobre la deprecación de vec::from_elem; añade notas de compatibilidad si hace falta. La nota de versión debe estar correctamente categorizada y describir con precisión el cambio enlazado en PR #164653.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

relnotes relnotes-tracking-issue T-libs

This issue tracks the release notes text for #164653.

cc @ChrisDenton, @joboet -- original issue/PR authors and assignees for drafting text

See the forge.rust-lang.org chapter about release notes for an overview of how the release team makes use of these tracking issues.

Release notes text

This section should be edited to specify the correct category(s) for the change, with succinct description(s) of what changed. Some things worth considering:

  • Does this need an additional compat notes section?
  • Was this a libs stabilization that should have additional headers to list new APIs under Stabilized APIs and Const Stabilized APIs?
# Compatibility Notes
- `std::vec::from_elem`, an implementation detail of the `vec!` macro, was incorrectly marked as stable since 1.0 and is now deprecated. In all cases, `std::vec::from_elem(x, n)` should be replaced with `vec![x; n]`. We plan to remove this function in a future release.

[!TIP]
Use the previous releases for inspiration on how to write the release notes text and which categories to pick.

Release blog section

If this change is notable enough for inclusion in the blog post then this section should be edited to contain a draft for the blog post. Otherwise leave it empty.

[!NOTE]

If a blog post section is required the release-blog-post label should be added (@rustbot label +release-blog-post) to this issue as otherwise it may be missed by the release team.

Lenguaje dominante
Rust
Estrellas
121k
Forks
17.3k
Merge medio
2 d 22 h
PR fusionados (30 d)
524

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de rust-lang/rust

Todos los issues de rust-lang/rust

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.