Skip to content

Commit

Permalink
fix copy/paste comment error: Reader -> Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrensha committed Sep 23, 2024
1 parent fe41ad6 commit 80d915a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capnp/src/dynamic_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T: DowncastBuilder<'a>>(self) -> T {
T::downcast_builder(self)
Expand Down

0 comments on commit 80d915a

Please sign in to comment.