docs: small details with refs

This commit is contained in:
əlemi 2023-08-20 09:16:20 +02:00
parent 7f3cba475e
commit af5fb90de3

View file

@ -32,7 +32,8 @@
//! interact with [Instance] managers.
//!
//! ### async
//! this library is natively async and thus async usage should be preferred if possible
//! this library is natively async and thus async usage should be preferred if possible with
//! [instance::a_sync::Instance]
//!
//! ```rust,no_run
//! use codemp::Controller;
@ -68,7 +69,7 @@
//! ```
//!
//! ### sync
//! if async is not viable, including the feature `sync` will provide a sync-only Instance variant
//! if async is not viable, including the feature `sync` will provide a sync-only [instance::sync::Instance] variant
//!
//! ```rust,no_run
//! # use codemp::instance::sync::Instance;
@ -101,7 +102,7 @@
//!
//! ### global
//! if instantiating the [Instance] manager is not possible, adding the feature `global` will
//! provide a static lazyly-allocated global reference.
//! provide a static lazyly-allocated global reference: [struct@instance::global::INSTANCE].
//!
//! ```rust,no_run
//! # use codemp::instance::sync::Instance;