Skip to content

Commit 79a829b

Browse files
authored
Make Substrate compile with latest nightly (#7381)
* Try to get it compiling * One more * Make stable happy * Make stable even more happy ;) * Update shell.nix
1 parent 0c2e48e commit 79a829b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ decl_module! {
200200
decl_storage! {
201201
trait Store for Module<T: Trait> as Timestamp {
202202
/// Current time for the current block.
203-
pub Now get(fn now) build(|_| 0.into()): T::Moment;
203+
pub Now get(fn now): T::Moment;
204204

205205
/// Did the timestamp get updated in this block?
206206
DidUpdate: bool;

0 commit comments

Comments
 (0)