Make a public method

This commit is contained in:
Dustin J. Mitchell 2022-01-05 03:12:44 +00:00
parent e3f438d9fa
commit e2e0951c81

View file

@ -47,7 +47,10 @@ impl Replica {
/// Update an existing task. If the value is Some, the property is added or updated. If the
/// value is None, the property is deleted. It is not an error to delete a nonexistent
/// property.
pub(crate) fn update_task<S1, S2>(
///
/// This is a low-level method, and requires knowledge of the Task data model. Prefer to
/// use the [`TaskMut`] methods to modify tasks, where possible.
pub fn update_task<S1, S2>(
&mut self,
uuid: Uuid,
property: S1,