Skip to content

Commit

Permalink
no need for inner docsrs doccfg attrs
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Mar 18, 2024
1 parent b24e88a commit 87ec044
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions kube-client/src/client/client_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ pub struct Cluster;
pub struct Namespace(String);

/// Scopes for `unstable-client` [`Client#impl-Client`] extension methods
#[cfg_attr(docsrs, doc(cfg(any(feature = "unstable-client"))))]
pub mod scope {
pub use super::{Cluster, Namespace};
}
Expand Down Expand Up @@ -156,7 +155,6 @@ pub enum NamespaceError {
/// # Ok(())
/// # }
/// ```
#[cfg_attr(docsrs, doc(cfg(feature = "unstable-client")))]
impl Client {
/// Get a single instance of a `Resource` implementing type `K` at the specified scope.
///
Expand Down
2 changes: 1 addition & 1 deletion kube-client/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub enum LoadDataError {
/// Prefer [`Config::infer`] unless you have particular issues, and avoid manually managing
/// the data in this struct unless you have particular needs. It exists to be consumed by the [`Client`][crate::Client].
///
/// If you are looking to parse the kubeconfig found in a user's home directory see [`Kubeconfig`](crate::config::Kubeconfig).
/// If you are looking to parse the kubeconfig found in a user's home directory see [`Kubeconfig`].
#[cfg_attr(docsrs, doc(cfg(feature = "config")))]
#[derive(Debug, Clone)]
pub struct Config {
Expand Down

0 comments on commit 87ec044

Please sign in to comment.