mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 00:50:18 +00:00
chore(doc): add documentation to VariableController::remove
This commit is contained in:
@@ -145,6 +145,8 @@ impl VariableController {
|
||||
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<()> {
|
||||
let name = Self::name(key)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user