Skip to content

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
garkimasera committed Aug 6, 2019
1 parent c6b920d commit ad882f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions makepak/src/buildobj/expr_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ impl Join for Expr {
}
}

/// Id as String in script.
/// The first character must be alphabetic or numeric, and can include '_', '-', and '.'.
// Id as String in script.
// The first character must be alphabetic or numeric, and can include '_', '-', and '.'.
named!(pub id<&str, String>,
do_parse!(
s: re_find_static!("[a-zA-Z0-9][a-zA-Z0-9_.-]*") >>
Expand Down
1 change: 0 additions & 1 deletion makepak/src/buildobj/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use crate::error::*;
use crate::tomlinput::*;
use common::gamedata::defs::ElementArray;
use common::gamedata::item::*;
use common::obj::*;

pub fn build_item_object(tomlinput: TomlInput) -> Result<ItemObject, Error> {
let img = get_optional_field!(tomlinput, image);
Expand Down

0 comments on commit ad882f1

Please sign in to comment.