Auto merge of #12510 - goodmost:master, r=Alexendoo

chore: fix typo

changelog: none
This commit is contained in:
bors 2024-03-19 19:41:43 +00:00
commit 3f338b304e

View File

@ -250,7 +250,7 @@
/// ///
/// ### Why is this bad? /// ### Why is this bad?
/// A `Result` is at least as large as the `Err`-variant. While we /// A `Result` is at least as large as the `Err`-variant. While we
/// expect that variant to be seldomly used, the compiler needs to reserve /// expect that variant to be seldom used, the compiler needs to reserve
/// and move that much memory every single time. /// and move that much memory every single time.
/// Furthermore, errors are often simply passed up the call-stack, making /// Furthermore, errors are often simply passed up the call-stack, making
/// use of the `?`-operator and its type-conversion mechanics. If the /// use of the `?`-operator and its type-conversion mechanics. If the