Fix links to ToPyObject in types docs
This commit is contained in:
parent
86ce4d1a13
commit
9572220f6c
|
@ -10,7 +10,7 @@ use std::os::raw::c_double;
|
||||||
/// Represents a Python `float` object.
|
/// Represents a Python `float` object.
|
||||||
///
|
///
|
||||||
/// You can usually avoid directly working with this type
|
/// 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)
|
/// and [extract](struct.PyAny.html#method.extract)
|
||||||
/// with `f32`/`f64`.
|
/// with `f32`/`f64`.
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
|
|
|
@ -46,7 +46,7 @@ macro_rules! int_fits_larger_int {
|
||||||
/// Represents a Python `int` object.
|
/// Represents a Python `int` object.
|
||||||
///
|
///
|
||||||
/// You can usually avoid directly working with this type
|
/// 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)
|
/// and [extract](struct.PyAny.html#method.extract)
|
||||||
/// with the primitive Rust integer types.
|
/// with the primitive Rust integer types.
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
|
|
Loading…
Reference in New Issue