summaryrefslogtreecommitdiffstats
path: root/vendor/object/src/pod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/object/src/pod.rs')
-rw-r--r--vendor/object/src/pod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/object/src/pod.rs b/vendor/object/src/pod.rs
index 805cf8249..8ee78164f 100644
--- a/vendor/object/src/pod.rs
+++ b/vendor/object/src/pod.rs
@@ -14,6 +14,7 @@ type Result<T> = result::Result<T, ()>;
/// A trait for types that can safely be converted from and to byte slices.
///
+/// # Safety
/// A type that is `Pod` must:
/// - be `#[repr(C)]` or `#[repr(transparent)]`
/// - have no invalid byte values