From f341315473ed4a32780ad183a2ac806ca90db4ef Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 18 Mar 2018 00:20:35 -0700 Subject: [PATCH] Remove trait methods from public API --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 11971f6..192c784 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -40,9 +40,13 @@ mod private { } pub trait Integer: private::Sealed { + // Not public API. + #[doc(hidden)] #[cfg(feature = "std")] fn write(self, W) -> io::Result; + // Not public API. + #[doc(hidden)] fn fmt(self, W) -> fmt::Result; }