]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_error_codes/src/error_codes/E0772.md
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_error_codes / src / error_codes / E0772.md
index 262e52351ef01c203ad655f7c2683dc6915e8a8a..3b73abaf776c25bbda797300c44dada05266b1cc 100644 (file)
@@ -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: