Skip to content

Commit

Permalink
Add the pub modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis committed Nov 19, 2017
1 parent c3aa63f commit 1fd652b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/framework/standard/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ use model::Channel;
macro_rules! command {
($fname:ident($c:ident) $b:block) => {
#[allow(non_camel_case_types)]
struct $fname;
pub struct $fname;

impl $crate::framework::standard::Command for $fname {
#[allow(unreachable_code, unused_mut)]
Expand All @@ -87,7 +87,7 @@ macro_rules! command {
};
($fname:ident($c:ident, $m:ident) $b:block) => {
#[allow(non_camel_case_types)]
struct $fname;
pub struct $fname;

impl $crate::framework::standard::Command for $fname {
#[allow(unreachable_code, unused_mut)]
Expand All @@ -104,7 +104,7 @@ macro_rules! command {
};
($fname:ident($c:ident, $m:ident, $a:ident) $b:block) => {
#[allow(non_camel_case_types)]
struct $fname;
pub struct $fname;

impl $crate::framework::standard::Command for $fname {
#[allow(unreachable_code, unused_mut)]
Expand Down

0 comments on commit 1fd652b

Please sign in to comment.