diff options
Diffstat (limited to 'azalea-block/src')
| -rw-r--r-- | azalea-block/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-block/src/lib.rs b/azalea-block/src/lib.rs index 86e2bc4f..9f39f471 100644 --- a/azalea-block/src/lib.rs +++ b/azalea-block/src/lib.rs @@ -49,7 +49,7 @@ pub trait BlockTrait: Debug + Any { /// Update a property on this block, with the name and value being strings. /// /// Returns `Ok(())`, if the property name and value are valid, otherwise it - /// returns `Err(())`. + /// returns `Err(InvalidPropertyError)`. /// /// To get a property, use [`Self::get_property`]. fn set_property(&mut self, name: &str, new_value: &str) -> Result<(), InvalidPropertyError>; |
