Skip to content

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Lauzier authored and tversteeg committed Oct 11, 2021
1 parent cfd2683 commit 6d52790
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A free & open source 2D Lemmings-meets-tower defense destructible terrain game.

# Run

## From Github
## From GitHub

You can download the [latest](https://github.com/tversteeg/castle-game/releases/latest) version from [releases](https://github.com/tversteeg/castle-game/releases). It should work by just running the executable, if not, [create an issue](https://github.com/tversteeg/castle-game/issues/new).

Expand Down
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ fn parse_folder(assets_dir: &str, folder: &str, mask_color: u32) {

match extension.to_str().unwrap() {
"png" => save_blit_buffer_from_image(
&assets_dir,
assets_dir,
folder,
filename.to_str().unwrap(),
filestem.to_str().unwrap(),
mask_color,
),
"json" => save_anim_buffer(
&assets_dir,
assets_dir,
folder,
filename.to_str().unwrap(),
filestem.to_str().unwrap(),
Expand Down
2 changes: 1 addition & 1 deletion src/audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl Audio {
let stream_data = match stream_result {
Ok(data) => data,
Err(err) => {
eprintln!("an error occurred on stream {:?}: {}", stream_id, err);
eprintln!("an error occurred on stream {:?}: {:?}", stream_id, err);
return;
}
};
Expand Down
1 change: 0 additions & 1 deletion src/turret.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use cgmath::MetricSpace;
use rand;
use rand::distributions::{Distribution, Uniform};
use specs::prelude::*;
use specs_derive::Component;
Expand Down

0 comments on commit 6d52790

Please sign in to comment.