aboutsummaryrefslogtreecommitdiff
path: root/src/os/mod.rs
diff options
context:
space:
mode:
authorDavid LeGare <legare@google.com>2022-03-02 16:20:16 +0000
committerDavid LeGare <legare@google.com>2022-03-08 18:02:54 +0000
commitfaeb5c93ba9a0682cf25657d8e5070ca3a94a316 (patch)
tree8167ff3ef81634a34f22347866ca7517ab5783d0 /src/os/mod.rs
parent46d5ad1c7ec6697c3dad1099dfe4592be4e2e63a (diff)
downloadlibloading-faeb5c93ba9a0682cf25657d8e5070ca3a94a316.tar.gz
Update libloading to 0.7.3
Test: cd external/rust/crates && atest --host -c Change-Id: I1a047668c589c6e149a693e9a8ac9e7e9ecbb325
Diffstat (limited to 'src/os/mod.rs')
-rw-r--r--src/os/mod.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/os/mod.rs b/src/os/mod.rs
index c03ebc1..710353f 100644
--- a/src/os/mod.rs
+++ b/src/os/mod.rs
@@ -1,6 +1,6 @@
-//! Unsafe but flexible platform specific bindings to dynamic library loading facilities.
+//! Unsafe but flexible platform-specific bindings to dynamic library loading facilities.
//!
-//! These modules expose more extensive, powerful, less principled bindings to the dynamic
+//! These modules expose more extensive and powerful bindings to the dynamic
//! library loading facilities. Use of these bindings come at the cost of less (in most cases,
//! none at all) safety guarantees, which are provided by the top-level bindings.
//!
@@ -17,11 +17,11 @@
//! ```
/// UNIX implementation of dynamic library loading.
-#[cfg(any(unix, docsrs))]
-#[cfg_attr(docsrs, doc(cfg(unix)))]
+#[cfg(any(unix, libloading_docs))]
+#[cfg_attr(libloading_docs, doc(cfg(unix)))]
pub mod unix;
/// Windows implementation of dynamic library loading.
-#[cfg(any(windows, docsrs))]
-#[cfg_attr(docsrs, doc(cfg(windows)))]
+#[cfg(any(windows, libloading_docs))]
+#[cfg_attr(libloading_docs, doc(cfg(windows)))]
pub mod windows;