File tree 1 file changed +5
-5
lines changed
src/2018/transitioning/modules
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ extern crate futures;
108
108
use futures::Future;
109
109
110
110
mod foo {
111
- struct Bar;
111
+ pub struct Bar;
112
112
}
113
113
114
114
use foo::Bar;
@@ -139,7 +139,7 @@ crate` line:
139
139
use futures::Future;
140
140
141
141
mod foo {
142
- struct Bar;
142
+ pub struct Bar;
143
143
}
144
144
145
145
use foo::Bar;
@@ -171,7 +171,7 @@ mod submodule {
171
171
use futures::Future;
172
172
173
173
mod foo {
174
- struct Bar;
174
+ pub struct Bar;
175
175
}
176
176
177
177
use foo::Bar;
@@ -223,7 +223,7 @@ extern crate futures;
223
223
use futures::Future;
224
224
225
225
mod foo {
226
- struct Bar;
226
+ pub struct Bar;
227
227
}
228
228
229
229
use foo::Bar;
@@ -238,7 +238,7 @@ Now looks like this:
238
238
use futures::Future;
239
239
240
240
mod foo {
241
- struct Bar;
241
+ pub struct Bar;
242
242
}
243
243
244
244
// 'crate' means the current crate
You can’t perform that action at this time.
0 commit comments