Export pyo3_derive_backend::pyimpl::impl_methods

This commit is contained in:
konstin 2019-03-16 11:31:55 +01:00
parent 5a421fcdc7
commit 6540a374af
2 changed files with 8 additions and 4 deletions

View File

@ -17,6 +17,6 @@ mod utils;
pub use module::{add_fn_to_module, process_functions_in_module, py2_init, py3_init};
pub use pyclass::{build_py_class, PyClassArgs};
pub use pyfunction::PyFunctionAttr;
pub use pyimpl::build_py_methods;
pub use pyimpl::{build_py_methods, impl_methods};
pub use pyproto::build_py_proto;
pub use utils::get_doc;

View File

@ -1,7 +1,11 @@
use docmatic;
use std::default::Default;
use std::path::{Path, PathBuf};
#[cfg(feature = "test-doc")]
use {
docmatic,
std::default::Default,
std::path::{Path, PathBuf},
};
#[cfg(feature = "test-doc")]
fn assert_file<P: AsRef<Path>>(path: P) {
let mut doc = docmatic::Assert::default();
if cfg!(windows) {