File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ pub fn word_array_declaration(
56
56
let vis = if options. public { "pub " } else { "" } ;
57
57
Ok ( Branch ( vec ! [
58
58
Line ( format!(
59
- "{}static {}: [capnp::Word; {}] = [" ,
59
+ "{}static {}: [:: capnp::Word; {}] = [" ,
60
60
vis,
61
61
name,
62
62
words. len( ) / 8
@@ -67,7 +67,7 @@ pub fn word_array_declaration(
67
67
}
68
68
69
69
pub fn generate_pointer_constant (
70
- gen : & GeneratorContext ,
70
+ ctx : & GeneratorContext ,
71
71
styled_name : & str ,
72
72
typ : type_:: Reader ,
73
73
value : any_pointer:: Reader ,
@@ -76,7 +76,7 @@ pub fn generate_pointer_constant(
76
76
Line ( format!(
77
77
"pub static {}: ::capnp::constant::Reader<{}> = {{" ,
78
78
styled_name,
79
- typ. type_string( gen , Leaf :: Owned ) ?
79
+ typ. type_string( ctx , Leaf :: Owned ) ?
80
80
) ) ,
81
81
Indent ( Box :: new( Branch ( vec![
82
82
word_array_declaration(
You can’t perform that action at this time.
0 commit comments