Rollup merge of #155735 - Muhtasim-Rasheed:issue-155695-fix-typo, r=wesleywiser

Fix typo by removing extra 'to'

Fixes rust-lang/rust#155695

Fix a typo in the `std::convert` module documentation by removing an extra "to" in the module-level docs.
This commit is contained in:
Jonathan Brouwer
2026-04-24 18:19:21 +02:00
committed by GitHub
+1 -1
View File
@@ -11,7 +11,7 @@
//! - The [`TryFrom`] and [`TryInto`] traits behave like [`From`] and [`Into`],
//! but should be implemented when the conversion can fail.
//!
//! The traits in this module are often used as trait bounds for generic functions such that to
//! The traits in this module are often used as trait bounds for generic functions such that
//! arguments of multiple types are supported. See the documentation of each trait for examples.
//!
//! As a library author, you should always prefer implementing [`From<T>`][`From`] or