Skip to content

why is Connection::execute hidden in doc? #3063

Answered by weiznich
keepsimple1 asked this question in Q&A
Discussion options

You must be logged in to vote

#[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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by keepsimple1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants