Skip to content

Commit 8eadc46

Browse files
committed
Hide Storage type in net::option::{Get,Set}
1 parent 061ff9d commit 8eadc46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/net/option.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ macro_rules! new_option {
294294
$(
295295
impl Get for $type_name {
296296
type Output = $output;
297+
#[doc(hidden)] // Not part of the stable API.
297298
type Storage = $storage;
298299

299300
const LEVEL: Level = $level;
@@ -314,6 +315,7 @@ macro_rules! new_option {
314315
$(
315316
impl Set for $type_name {
316317
type Value = $value;
318+
#[doc(hidden)] // Not part of the stable API.
317319
type Storage = $storage;
318320

319321
const LEVEL: Level = $level;

0 commit comments

Comments
 (0)