diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-03-03 20:01:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-03 20:01:48 +0100 |
| commit | 939c1585a4a88d33e027c086d04ab102ad177597 (patch) | |
| tree | 24548a11af80f025830ce21b7396e209f66906a9 /compiler/rustc_error_codes | |
| parent | 26cbf9158d3c69817fdc9b94949f5d4aa699322b (diff) | |
| parent | 00fffdddd22cdd796cf4261cdbbf830bee7e4f7b (diff) | |
| download | rust-939c1585a4a88d33e027c086d04ab102ad177597.tar.gz rust-939c1585a4a88d33e027c086d04ab102ad177597.zip | |
Rollup merge of #94555 - cuishuang:master, r=oli-obk
all: fix some typos Signed-off-by: cuishuang <imcusg@gmail.com>
Diffstat (limited to 'compiler/rustc_error_codes')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0772.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0772.md b/compiler/rustc_error_codes/src/error_codes/E0772.md index 262e52351ef..3b73abaf776 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0772.md +++ b/compiler/rustc_error_codes/src/error_codes/E0772.md @@ -45,7 +45,7 @@ trait object's internal data to be accessed safely from any trait methods. This rule also goes for any lifetime any struct made into a trait object may have. In the implementation for `dyn Person`, the `'2` lifetime representing the -internal data was ommitted, meaning that the compiler inferred the lifetime +internal data was omitted, meaning that the compiler inferred the lifetime `'static`. As a result, the implementation's `is_cool` is inferred by the compiler to look like this: |
