mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-31 12:31:22 +00:00
Guarantee inheritance of variable type for public constraint system contexts.
This commit is contained in:
@@ -152,7 +152,7 @@ pub trait PublicConstraintSystem<E: Engine>: ConstraintSystem<E>
|
|||||||
{
|
{
|
||||||
/// Represents the type of the "root" of this constraint system
|
/// Represents the type of the "root" of this constraint system
|
||||||
/// so that nested namespaces can minimize indirection.
|
/// so that nested namespaces can minimize indirection.
|
||||||
type PublicRoot: PublicConstraintSystem<E>;
|
type PublicRoot: PublicConstraintSystem<E, Variable=Self::Variable>;
|
||||||
|
|
||||||
/// Allocate a public variable in the constraint system. The provided function is used to
|
/// Allocate a public variable in the constraint system. The provided function is used to
|
||||||
/// determine the assignment of the variable.
|
/// determine the assignment of the variable.
|
||||||
|
Reference in New Issue
Block a user