Skip to content

Commit

Permalink
Fixed modules
Browse files Browse the repository at this point in the history
  • Loading branch information
calebmeyer committed Nov 17, 2018
1 parent a1f7118 commit 277e2f0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/card.rs → src/deck/card.rs
@@ -1,6 +1,6 @@
use std::fmt;
use rank::Rank;
use suit::Suit;
use deck::rank::Rank;
use deck::suit::Suit;

#[derive(Copy, Clone, Debug)]
pub struct Card {
Expand Down
12 changes: 6 additions & 6 deletions src/deck.rs → src/deck/mod.rs
Expand Up @@ -3,14 +3,14 @@ extern crate rand;
use std::fmt;
use self::rand::{thread_rng, Rng};

// mod rank;
use war::rank::Rank;
mod rank;
use self::rank::Rank;

// mod ::suit;
use ::suit::Suit;
mod suit;
use self::suit::Suit;

// mod ::card;
use super::card::Card;
mod card;
use self::card::Card;

#[derive(Debug)]
pub struct Deck {
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 277e2f0

Please sign in to comment.