Mention that in_mem::Backend doesn't work (#3250)

* Mention that in_mem::Backend doesn't work

* Bigger warning
This commit is contained in:
Pierre Krieger
2019-08-03 10:33:53 +02:00
committed by Arkadiy Paronyan
parent f0856db12c
commit 83b148f514
2 changed files with 5 additions and 3 deletions
+4 -1
View File
@@ -532,7 +532,10 @@ where
}
}
/// In-memory backend. Keeps all states and blocks in memory. Useful for testing.
/// In-memory backend. Keeps all states and blocks in memory.
///
/// > **Warning**: Doesn't support all the features necessary for a proper database. Only use this
/// > struct for testing purposes. Do **NOT** use in production.
pub struct Backend<Block, H>
where
Block: BlockT,