Skip to content

Commit

Permalink
Remove unused const (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov authored Feb 2, 2023
1 parent c228758 commit 4db6c12
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions orchestra/proc-macro/src/impl_orchestra.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ pub(crate) fn impl_orchestra_struct(info: &OrchestraInfo) -> proc_macro2::TokenS

let event_ty = &info.extern_event_ty;

let message_channel_capacity = info.message_channel_capacity;
let signal_channel_capacity = info.signal_channel_capacity;

let log_target =
Expand All @@ -58,10 +57,6 @@ pub(crate) fn impl_orchestra_struct(info: &OrchestraInfo) -> proc_macro2::TokenS
// without `cargo fmt`, there will be some weirdness around else brackets
// that does not originate from how we create it

/// Capacity of a bounded message channel between orchestra and subsystem
/// but also for bounded channels between two subsystems if not overriden.
const CHANNEL_CAPACITY: usize = #message_channel_capacity;

/// Capacity of a signal channel between a subsystem and the orchestra.
const SIGNAL_CHANNEL_CAPACITY: usize = #signal_channel_capacity;

Expand Down

0 comments on commit 4db6c12

Please sign in to comment.