Fix broken build: replace value_string() straggler (#12237)

# Description

Fix after #12230 and #12231 crossed wires and broke the build
This commit is contained in:
Devyn Cairns
2024-03-19 05:52:49 -07:00
committed by GitHub
parent 6795ad7e33
commit 02551c416c
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ pub struct PluginCustomValue {
/// Content shared across copies of a plugin custom value.
#[derive(Clone, Debug, Serialize, Deserialize)]
struct SharedContent {
/// The name of the custom value as defined by the plugin (`value_string()`)
/// The name of the type of the custom value as defined by the plugin (`type_name()`)
name: String,
/// The bincoded representation of the custom value on the plugin side
data: Vec<u8>,
@ -146,7 +146,7 @@ impl PluginCustomValue {
}
}
/// The name of the custom value as defined by the plugin (`value_string()`)
/// The name of the type of the custom value as defined by the plugin (`type_name()`)
pub fn name(&self) -> &str {
&self.shared.name
}