Fix coding style in docstrings.

This commit is contained in:
Georg Brandl 2022-11-20 13:47:06 +01:00
parent 08423557d4
commit 717e09be13
13 changed files with 55 additions and 55 deletions

View file

@ -475,7 +475,7 @@ impl CompareOp {
///
/// #[pyclass]
/// struct Size {
/// size: usize
/// size: usize,
/// }
///
/// #[pymethods]

View file

@ -16,8 +16,8 @@ use std::os::raw::{c_char, c_int, c_void};
///
/// # Example
/// ```
/// use std::ffi::CString;
/// use pyo3::{prelude::*, types::PyCapsule};
/// use std::ffi::CString;
///
/// #[repr(C)]
/// struct Foo {