Skip to content

Commit 96f09ab

Browse files
committed
Remove some uneccesary pub specifiers
1 parent 202cdf8 commit 96f09ab

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

gl_generator/registry.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -218,37 +218,37 @@ pub struct Cmd {
218218

219219
#[derive(Clone)]
220220
struct Feature {
221-
pub api: Api,
222-
pub name: String,
223-
pub number: String,
224-
pub requires: Vec<Require>,
225-
pub removes: Vec<Remove>,
221+
api: Api,
222+
name: String,
223+
number: String,
224+
requires: Vec<Require>,
225+
removes: Vec<Remove>,
226226
}
227227

228228
#[derive(Clone)]
229229
struct Require {
230230
/// A reference to the earlier types, by name
231-
pub enums: Vec<String>,
231+
enums: Vec<String>,
232232
/// A reference to the earlier types, by name
233-
pub commands: Vec<String>,
233+
commands: Vec<String>,
234234
}
235235

236236
#[derive(Clone)]
237237
struct Remove {
238238
// always Core, for now
239-
pub profile: Profile,
239+
profile: Profile,
240240
/// A reference to the earlier types, by name
241-
pub enums: Vec<String>,
241+
enums: Vec<String>,
242242
/// A reference to the earlier types, by name
243-
pub commands: Vec<String>,
243+
commands: Vec<String>,
244244
}
245245

246246
#[derive(Clone)]
247247
struct Extension {
248-
pub name: String,
248+
name: String,
249249
/// which apis this extension is defined for (see Feature.api)
250-
pub supported: Vec<Api>,
251-
pub requires: Vec<Require>,
250+
supported: Vec<Api>,
251+
requires: Vec<Require>,
252252
}
253253

254254
pub struct GlxOpcode {

0 commit comments

Comments
 (0)