diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-08-21 01:12:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-21 01:12:19 -0400 |
| commit | d54aaed392835baaad515d38aedc3b1d6350d4fc (patch) | |
| tree | 2b1644505b320946188c8ad4ade2fbb1dd6c39cc | |
| parent | 03aa3b8489144e306adddc29217fbf8359404620 (diff) | |
| parent | be9cd3cc0a71c5516567d5944b39936f6038db7d (diff) | |
| download | rust-d54aaed392835baaad515d38aedc3b1d6350d4fc.tar.gz rust-d54aaed392835baaad515d38aedc3b1d6350d4fc.zip | |
Rollup merge of #145525 - typesanitizer:vg/doc, r=Mark-Simulacrum
stdlib: Replace typedef -> type alias in doc comment 'typedef' is jargon from C and C++. Since the Rust reference uses the term [type alias](https://doc.rust-lang.org/reference/items/type-aliases.html), this patch changes the doc comment in io/error.rs to also use 'type alias'.
| -rw-r--r-- | library/std/src/io/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs index 562fdbf4ff7..dcfa189823f 100644 --- a/library/std/src/io/error.rs +++ b/library/std/src/io/error.rs @@ -18,7 +18,7 @@ use crate::{error, fmt, result, sys}; /// This type is broadly used across [`std::io`] for any operation which may /// produce an error. /// -/// This typedef is generally used to avoid writing out [`io::Error`] directly and +/// This type alias is generally used to avoid writing out [`io::Error`] directly and /// is otherwise a direct mapping to [`Result`]. /// /// While usual Rust style is to import types directly, aliases of [`Result`] |
