@@ -56,7 +56,7 @@ pub struct OpDefinition {
56
56
/// Indicates whether the current operation could belong to a [`SymbolTable`].
57
57
///
58
58
/// If true, this operation's builder will have an additional parameter of type
59
- ///`parent_symbol_table: Option< &mut SymbolTableRef>`. `None` is currently only used in testing .
59
+ ///`parent_symbol_table: &mut SymbolTableRef` .
60
60
belongs_in_symbol_table : bool ,
61
61
/// The symbolic references held by this op
62
62
symbols : Vec < Symbol > ,
@@ -149,6 +149,7 @@ impl OpDefinition {
149
149
} ;
150
150
let mut create_params = vec ! [ ] ;
151
151
let ( _, mut fields) = fields. split ( ) ;
152
+
152
153
// Compute the absolute ordering of op parameters as follows:
153
154
//
154
155
// * By default, the ordering is implied by the order of field declarations in the struct
@@ -352,9 +353,9 @@ impl OpDefinition {
352
353
}
353
354
}
354
355
355
- // If the operations has the "BelongsInSymbolTable" trait, then add an additional parameter
356
- // to the Operation::create and OpBuilder function of type:
357
- // parent_symbol_table: Option< &mut SymbolTableRef> ,
356
+ // If the operations has the "BelongsInSymbolTable" trait, then an additional parameter is
357
+ // added to the Operation::create and OpBuilder function of type:
358
+ // parent_symbol_table: &mut SymbolTableRef,
358
359
// This is a reference to the symbol table of the parent where this operation will be added.
359
360
if self
360
361
. traits
0 commit comments