llow decl-module to have a where clause with trailing comma (#6431)

This commit is contained in:
Guillaume Thiolliere
2020-06-19 16:00:06 +02:00
committed by GitHub
parent 780f8e09d7
commit 6103e9854c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ pub trait Trait: 'static + Eq + Clone {
}
frame_support::decl_module! {
pub struct Module<T: Trait> for enum Call where origin: T::Origin {}
pub struct Module<T: Trait> for enum Call where origin: T::Origin, {}
}
impl<T: Trait> Module<T> {