Skip to content

Commit fb47859

Browse files
manta1130qryxip
andauthored
Change module definition(mod -> pub mod)
Co-authored-by: Ryo Yamashita <qryxip@gmail.com>
1 parent 0872289 commit fb47859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def output_file(filename):
5151

5252
res = []
5353
with open(src_path+filename+'.rs', 'r') as f:
54-
res.append('mod {}{{'.format(filename))
54+
res.append('pub mod {} {{'.format(filename))
5555

5656
for line in f:
5757
res.append(line.rstrip())

0 commit comments

Comments
 (0)