Skip to content

Commit 20ad58c

Browse files
committed
Remove outdated docs
1 parent 8771c83 commit 20ad58c

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

src/npyffi/mod.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
//! Low-Level bindings for NumPy C API.
22
//!
33
//! https://docs.scipy.org/doc/numpy/reference/c-api.html
4-
//!
5-
//! Most of functions in this submodule are unsafe.
6-
//! If you use functions in this submodule, you need to understand
7-
//! basic usage of Python C API, especially for the reference counting.
8-
//!
9-
//! - http://docs.python.jp/3/c-api/
10-
//! - http://dgrunwald.github.io/rust-pyo3/doc/pyo3/
4+
#![allow(non_camel_case_types)]
115

126
use pyo3::ffi;
137
use std::ffi::CString;

src/npyffi/objects.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Low-Lebel binding for NumPy C API C-objects
22
//!
33
//! https://docs.scipy.org/doc/numpy/reference/c-api.types-and-structures.html
4-
#![allow(non_camel_case_types, non_snake_case)]
4+
#![allow(non_camel_case_types)]
55

66
use libc::FILE;
77
use pyo3::ffi::*;

src/npyffi/types.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(non_camel_case_types)]
2-
31
use pyo3::ffi::{Py_hash_t, Py_intptr_t, Py_uintptr_t};
42
use std::os::raw::*;
53

0 commit comments

Comments
 (0)