diff --git a/capnp/src/dynamic_value.rs b/capnp/src/dynamic_value.rs index 83646e26d..a0eecb447 100644 --- a/capnp/src/dynamic_value.rs +++ b/capnp/src/dynamic_value.rs @@ -210,7 +210,7 @@ impl<'a> Builder<'a> { } } - /// Downcasts the `Reader` into a more specific type. Panics if the + /// Downcasts the `Builder` into a more specific type. Panics if the /// expected type does not match the value. pub fn downcast>(self) -> T { T::downcast_builder(self)