From b1257cdb79a1dd58b01e4cb5b437b4dd5dd419e9 Mon Sep 17 00:00:00 2001 From: gwenn Date: Thu, 21 Oct 2021 19:50:03 +0200 Subject: [PATCH] Fix error: docs for unsafe trait missing `# Safety` section --- src/vtab/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vtab/mod.rs b/src/vtab/mod.rs index cb26bcc..5a87a36 100644 --- a/src/vtab/mod.rs +++ b/src/vtab/mod.rs @@ -520,6 +520,8 @@ impl OrderBy<'_> { /// Virtual table cursor trait. /// +/// # Safety +/// /// Implementations must be like: /// ```rust,ignore /// #[repr(C)]