From 4ee5a76ab50c4ded4c66fa1f428998220cf7dbd1 Mon Sep 17 00:00:00 2001 From: Eric Crosson Date: Sat, 25 Feb 2023 17:05:40 -0600 Subject: [PATCH] Fix typo --- traits-dynamic-dispatch-upcasting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traits-dynamic-dispatch-upcasting.md b/traits-dynamic-dispatch-upcasting.md index 4ec38d0..ab568ca 100644 --- a/traits-dynamic-dispatch-upcasting.md +++ b/traits-dynamic-dispatch-upcasting.md @@ -187,7 +187,7 @@ We'll explore the vtable in more detail. ## Trait objects and the vtable -The vtable is what allows Rust to call trait methods on a value without knowing its type. The vtable is generated at compile time and stored as part of the binary. As of Rust 1.43, the layout of the vtable is as follows (although rustc makes no guarantess about it): +The vtable is what allows Rust to call trait methods on a value without knowing its type. The vtable is generated at compile time and stored as part of the binary. As of Rust 1.43, the layout of the vtable is as follows (although rustc makes no guarantees about it): | Field | Type | | --- | --- |