From 9db028ef0fcf60f60b77ef7a72ee51afa502e757 Mon Sep 17 00:00:00 2001 From: Ohad Ravid Date: Wed, 10 Mar 2021 07:54:48 +0200 Subject: [PATCH] Fix links, build all features in CI --- azure-pipelines.yml | 2 +- src/de/meta.rs | 2 +- src/lib.rs | 2 +- src/query.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 593453c..9fecc54 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -29,7 +29,7 @@ steps: displayName: Install rust (windows) condition: eq( variables['Agent.OS'], 'Windows_NT' ) - - script: cargo build --release + - script: cargo build --all-features displayName: Cargo build - script: cargo test --all-features diff --git a/src/de/meta.rs b/src/de/meta.rs index 8e69912..b0330da 100644 --- a/src/de/meta.rs +++ b/src/de/meta.rs @@ -2,7 +2,7 @@ use serde::de::{self, Deserialize, Deserializer, Visitor}; use serde::forward_to_deserialize_any; /// Return the fields of a struct. -/// Taken directly from https://github.com/serde-rs/serde/issues/1110 +/// Taken directly from /// pub fn struct_name_and_fields<'de, T>( ) -> Result<(&'static str, &'static [&'static str]), serde::de::value::Error> diff --git a/src/lib.rs b/src/lib.rs index 3d29cde..04ad84a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -86,7 +86,7 @@ //! # Internals //! //! [`WMIConnection`](WMIConnection) is used to create and execute a WMI query, returning -//! [`IWbemClassWrapper`](query::IWbemClassWrapper) which is a wrapper for a WMI object pointer. +//! [`IWbemClassWrapper`](result_enumerator::IWbemClassWrapper) which is a wrapper for a WMI object pointer. //! //! Then, [`from_wbem_class_obj`](de::wbem_class_de::from_wbem_class_obj) is used to create a Rust struct with the equivalent data. //! diff --git a/src/query.rs b/src/query.rs index f2d91e1..e95237c 100644 --- a/src/query.rs +++ b/src/query.rs @@ -437,7 +437,7 @@ impl WMIConnection { /// Query all the associators of type T of the given object. /// The `object_path` argument can be provided by querying an object wih it's `__Path` property. /// `AssocClass` must be have the name as the conneting association class between the original object and the results. - /// See https://docs.microsoft.com/en-us/windows/desktop/cimwin32prov/win32-diskdrivetodiskpartition for example. + /// See for example. /// /// ```edition2018 /// # fn main() -> Result<(), wmi::WMIError> {