Skip to content

Commit dbadce2

Browse files
committed
doc: Use README.md as crate root API documentation
1 parent 1fd9cf7 commit dbadce2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
//! # FFI opaque pointers.
2-
//!
3-
//! FFI to use Rust objects from C as opaque pointer.
1+
#![feature(external_doc)]
2+
#![doc(include = "../README.md")]
43

54
#![allow(unsafe_code)]
65
#![warn(missing_docs)]

0 commit comments

Comments
 (0)