Misc doc fixes (#12266)

# Description

Just a bunch of miscellaneous fixes to the Rust documentation that I
found recently while doing
a pass on some things.

# User-Facing Changes
None
This commit is contained in:
Devyn Cairns
2024-03-23 05:26:08 -07:00
committed by GitHub
parent cc8f2b6419
commit ff41cf91ef
14 changed files with 32 additions and 29 deletions

View File

@ -80,8 +80,7 @@ pub trait CustomValue: fmt::Debug + Send + Sync {
/// For custom values in plugins: return `true` here if you would like to be notified when all
/// copies of this custom value are dropped in the engine.
///
/// The notification will take place via
/// [`.custom_value_dropped()`](crate::Plugin::custom_value_dropped) on the plugin.
/// The notification will take place via `custom_value_dropped()` on the plugin type.
///
/// The default is `false`.
fn notify_plugin_on_drop(&self) -> bool {