why is Connection::execute hidden in doc? #3063
-
diesel/diesel/src/connection/mod.rs Lines 214 to 215 in 4cae65c I'm curious why this method is hidden in doc? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
#[doc(hidden)]
methods are generally not considered to be part of the public API of an crate. That means they are free to change at any point in time without warning or issuing a major version bump.As for
Connection::execute
: This method is just an implementation detail, which is used internally by diesel. As this method is part of an public trait we just hide this (and other) methods so that they are not part of the public API.