Skip to content

Commit

Permalink
Fix links to ToPyObject in types docs
Browse files Browse the repository at this point in the history
  • Loading branch information
smheidrich authored and davidhewitt committed Sep 29, 2022
1 parent de980c7 commit 023d7fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types/floatob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::os::raw::c_double;
/// Represents a Python `float` object.
///
/// You can usually avoid directly working with this type
/// by using [`ToPyObject`](trait.ToPyObject.html)
/// by using [`ToPyObject`](crate::conversion::ToPyObject)
/// and [extract](struct.PyAny.html#method.extract)
/// with `f32`/`f64`.
#[repr(transparent)]
Expand Down
2 changes: 1 addition & 1 deletion src/types/num.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ macro_rules! int_fits_larger_int {
/// Represents a Python `int` object.
///
/// You can usually avoid directly working with this type
/// by using [`ToPyObject`](trait.ToPyObject.html)
/// by using [`ToPyObject`](crate::conversion::ToPyObject)
/// and [extract](struct.PyAny.html#method.extract)
/// with the primitive Rust integer types.
#[repr(transparent)]
Expand Down

0 comments on commit 023d7fe

Please sign in to comment.