documentation: Update Note Protocol

Using /// rather than simply //.

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-04-27 09:03:59 -04:00
parent 0f0662709e
commit 8c0c16ed87
9 changed files with 15 additions and 15 deletions
+6 -6
View File
@@ -611,7 +611,7 @@ public class P4ArrayValue: P4DataValue {
}
public func set(index: Int, to: P4Value) -> Result<P4ArrayValue> {
// TODO: Check for OOB
/// TODO: Check for OOB
var updated_values = self.value
updated_values[index] = to
return Result.Ok(P4ArrayValue(withType: self.vtype, withValue: updated_values))
@@ -621,7 +621,7 @@ public class P4ArrayValue: P4DataValue {
guard rhs as? P4ArrayValue != nil else {
return false
}
// TODO!!
/// TODO
return true
}
@@ -629,7 +629,7 @@ public class P4ArrayValue: P4DataValue {
guard rhs as? P4ArrayValue != nil else {
return false
}
// TODO!!
/// TODO
return true
}
@@ -637,7 +637,7 @@ public class P4ArrayValue: P4DataValue {
guard rhs as? P4ArrayValue != nil else {
return false
}
// TODO!!
/// TODO
return true
}
@@ -645,7 +645,7 @@ public class P4ArrayValue: P4DataValue {
guard rhs as? P4ArrayValue != nil else {
return false
}
// TODO!!
/// TODO
return true
}
@@ -653,7 +653,7 @@ public class P4ArrayValue: P4DataValue {
guard rhs as? P4ArrayValue != nil else {
return false
}
// TODO!!
/// TODO
return true
}
+1 -1
View File
@@ -204,7 +204,7 @@ public struct P4Value: CustomStringConvertible {
}
public func update(withNewValue value: P4DataValue) -> Result<P4Value> {
// TODO: Check that the types match.
/// TODO: Check that the types match.
return .Ok(P4Value(value, self._type))
}