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(
5656 let vis = if options. public { "pub " } else { "" } ;
5757 Ok ( Branch ( vec ! [
5858 Line ( format!(
59- "{}static {}: [capnp::Word; {}] = [" ,
59+ "{}static {}: [:: capnp::Word; {}] = [" ,
6060 vis,
6161 name,
6262 words. len( ) / 8
@@ -67,7 +67,7 @@ pub fn word_array_declaration(
6767}
6868
6969pub fn generate_pointer_constant (
70- gen : & GeneratorContext ,
70+ ctx : & GeneratorContext ,
7171 styled_name : & str ,
7272 typ : type_:: Reader ,
7373 value : any_pointer:: Reader ,
@@ -76,7 +76,7 @@ pub fn generate_pointer_constant(
7676 Line ( format!(
7777 "pub static {}: ::capnp::constant::Reader<{}> = {{" ,
7878 styled_name,
79- typ. type_string( gen , Leaf :: Owned ) ?
79+ typ. type_string( ctx , Leaf :: Owned ) ?
8080 ) ) ,
8181 Indent ( Box :: new( Branch ( vec![
8282 word_array_declaration(
You can’t perform that action at this time.
0 commit comments