Skip to content

Commit

Permalink
Fixed missing spaces in method docstrings.
Browse files Browse the repository at this point in the history
Co-authored-by: Lily Foote <[email protected]>
  • Loading branch information
JRRudy1 and LilyFoote committed Jul 14, 2024
1 parent e2c4516 commit bc660c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ where

/// Upcast this `Bound<PyClass>` to its base type by reference.
///
/// If this type defined an explicit base class in its`pyclass` declaration
/// If this type defined an explicit base class in its `pyclass` declaration
/// (e.g. `#[pyclass(extends = BaseType)]`), the returned type will be
/// `&Bound<BaseType>`. If an explicit base class was _not_ declared, the
/// return value will be `&Bound<PyAny>` (making this method equivalent
Expand Down Expand Up @@ -413,7 +413,7 @@ where

/// Upcast this `Bound<PyClass>` to its base type by value.
///
/// If this type defined an explicit base class in its`pyclass` declaration
/// If this type defined an explicit base class in its `pyclass` declaration
/// (e.g. `#[pyclass(extends = BaseType)]`), the returned type will be
/// `Bound<BaseType>`. If an explicit base class was _not_ declared, the
/// return value will be `Bound<PyAny>` (making this method equivalent
Expand Down

0 comments on commit bc660c1

Please sign in to comment.