Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Jun 5, 2024
1 parent 81e9bbc commit c9abdf3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ macro_rules! match_scenario_algorithm {
$(#[$algmeta])* $algpat => {
match $scenario {
$($(#[$scenmeta])* $scenpat => {
// type AlgScenTy<M, G> = fn(M, G) -> $scenty;
// type $algscenty<M, G> = fn(M, G) -> $scenty; //<AlgScenTy<M, G> as FnOnce(M, G) -> $scenty>::Output;
type $algscenty<M, G> = PhantomData<(M, G, $scenty)>;
let $algscen = $scencode;
$algcode
Expand All @@ -118,8 +116,6 @@ macro_rules! match_scenario_algorithm {
$(#[$algmeta])* $algpat => {
match $scenario {
$($(#[$scenmeta])* $scenpat => {
// type AlgScenTy<M, G> = fn(M, G) -> $scenty;
// type $algscenty<M, G> = fn(M, G) -> $scenty;//<AlgScenTy<M, G> as FnOnce(M, G) -> $scenty>::Output;
type $algscenty<M, G> = PhantomData<(M, G, $scenty)>;
let $algscen = $scencode;
$algcode
Expand Down
1 change: 0 additions & 1 deletion rustcoalescence/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#![deny(clippy::pedantic)]
#![feature(unwrap_infallible)]
#![feature(split_array)]
#![feature(unboxed_closures)]

#[macro_use]
extern crate serde_derive_state;
Expand Down

0 comments on commit c9abdf3

Please sign in to comment.