This is an automated email from the ASF dual-hosted git repository.
martinzink pushed a commit to branch minifi_rust_impr
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
The following commit(s) were added to refs/heads/minifi_rust_impr by this push:
new 06036d7c9 review change
06036d7c9 is described below
commit 06036d7c9db74a8b427011f1cbcb242117df7e52
Author: Martin Zink <[email protected]>
AuthorDate: Wed Aug 26 13:31:05 2026 +0200
review change
---
minifi_rust/minifi_native/src/api/property.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/minifi_rust/minifi_native/src/api/property.rs
b/minifi_rust/minifi_native/src/api/property.rs
index f541017ef..1e85c39bd 100644
--- a/minifi_rust/minifi_native/src/api/property.rs
+++ b/minifi_rust/minifi_native/src/api/property.rs
@@ -136,13 +136,13 @@ pub trait PropertySchema {
/// The requiredness of the property is enforced via this Option impl
/// If the property is required it should be registered as Property<T>
-/// If the property is not required it should be registered as
Property<Option<T>
+/// If the property is not required it should be registered as
Property<Option<T>>
impl<T: PropertySchema> PropertySchema for Option<T> {
const CONSTRAINT: Option<PropertyConstraints> = T::CONSTRAINT;
const IS_REQUIRED: bool = false;
}
-/// Trait required to register property as Property<T> or Property<Option<T>
+/// Trait required to register property as Property<T> or Property<Option<T>>
/// Output type will be the resulting type of context.get_property call
/// fn parse(s: &str) will be used to create T from the Property
/// (as all properties are just Strings from the agent's point of view)