Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Commit

Permalink
fix(parse-collada): rename PrimitiveType to PrimitiveElements
Browse files Browse the repository at this point in the history
Change the name of `PrimitiveType` to `PrimitiveElements` to bring it in
line with the naming convention used throughout parse-collada.

BREAKING CHANGE: Any code using the old name will break and must be
updated.
  • Loading branch information
randomPoison committed Dec 3, 2015
1 parent e8963d5 commit f1cd6b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/parse_collada/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ collada_element!("mesh", Mesh => {
rep child source: Source,
rep child extra: Extra

rep enum primitive_elements: PrimitiveType {
rep enum primitive_elements: PrimitiveElements {
"lines" => Lines(Lines),
"linestrips" => Linestrips(Linestrips),
"polygons" => Polygons(Polygons),
Expand Down Expand Up @@ -1365,7 +1365,7 @@ collada_element!("p", Primitive => {
});

#[derive(Debug, Clone)]
pub enum PrimitiveType {
pub enum PrimitiveElements {
Lines(Lines),
Linestrips(Linestrips),
Polygons(Polygons),
Expand Down

0 comments on commit f1cd6b4

Please sign in to comment.