Skip to content

Commit 26cac75

Browse files
committed
doc: Change API crate doc-comment to top of file
1 parent be70017 commit 26cac75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! # FFI opaque pointers.
2+
//!
3+
//! FFI to use Rust objects from C as opaque pointer.
4+
15
#![allow(unsafe_code)]
26
#![warn(missing_docs)]
37
#![warn(clippy::pedantic)]
@@ -6,10 +10,6 @@
610

711
#![no_std]
812

9-
//! # C FFI opaque pointers.
10-
//!
11-
//! FFI to use Rust objects from C as opaque pointer.
12-
1313
#[cfg(not(feature = "std"))]
1414
extern crate alloc;
1515
#[cfg(not(feature = "std"))]

0 commit comments

Comments
 (0)