doc(pyclass_init) Fix typos
This commit is contained in:
parent
16ef96904a
commit
fee01a125b
|
@ -70,7 +70,7 @@ pub struct PyClassInitializer<T: PyClass> {
|
|||
}
|
||||
|
||||
impl<T: PyClass> PyClassInitializer<T> {
|
||||
/// Constract new initialzer from value `T` and base class' initializer.
|
||||
/// Construct new initializer from value `T` and base class' initializer.
|
||||
///
|
||||
/// We recommend to mainly use `add_subclass`, instead of directly call `new`.
|
||||
pub fn new(init: T, super_init: <T::BaseType as PyTypeInfo>::Initializer) -> Self {
|
||||
|
|
Loading…
Reference in New Issue