chore(doc): add documentation to VariableController::remove

This commit is contained in:
2025-11-03 02:35:57 -05:00
parent 223a00563e
commit 8a0b70a99b

View File

@@ -145,6 +145,8 @@ impl VariableController {
self.set(key, &value.to_le_bytes(), class) self.set(key, &value.to_le_bytes(), class)
} }
/// Remove the variable specified by `key`.
/// This can fail if the variable is not set.
pub fn remove(&self, key: &str) -> Result<()> { pub fn remove(&self, key: &str) -> Result<()> {
let name = Self::name(key)?; let name = Self::name(key)?;