From 9be65632a30e5784b064e4d0d1a862cf94e71562 Mon Sep 17 00:00:00 2001 From: clux Date: Mon, 3 Oct 2022 22:14:51 +0100 Subject: [PATCH] minor clippy + typo + capitalization Signed-off-by: clux --- kube-core/src/discovery.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kube-core/src/discovery.rs b/kube-core/src/discovery.rs index 35f855b46..2846f216a 100644 --- a/kube-core/src/discovery.rs +++ b/kube-core/src/discovery.rs @@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize}; /// - `discovery` module in kube/kube-client /// - `CustomResource` derive in kube-derive /// -/// Will have ALL the extraneous data about shortnames, verbs, and resources. +/// will have ALL the extraneous data about shortnames, verbs, and resources. /// /// # Warning /// @@ -23,7 +23,7 @@ use serde::{Deserialize, Serialize}; /// Are **minimal** conveniences that will work with the Api, but will not have all the extraneous data. /// /// Shorter construction methods (such as manually filling in data), or fallibly converting from GVKs, -/// may fail to query. Provide accurate `plural` and `namespaced` data to be safe. +/// may even fail to query. Provide accurate `plural` and `namespaced` data to be safe. #[derive(Debug, Clone, Hash, Eq, PartialEq, Serialize, Deserialize)] pub struct ApiResource { /// Resource group, empty for core group. @@ -88,7 +88,7 @@ impl ApiResource { version: gvk.version.clone(), kind: gvk.kind.clone(), plural: plural.to_string(), - namespaced: namespaced, + namespaced, // non-essential properties left blank verbs: vec![], subresources: vec![],