1
0
mirror of https://github.com/bspeice/qadapt synced 2025-07-03 06:45:02 -04:00

Fix up the tests

This commit is contained in:
2018-12-08 16:08:36 -05:00
parent db120dbe45
commit 2c3cd714a1
2 changed files with 20 additions and 6 deletions

View File

@ -89,6 +89,7 @@ pub struct QADAPT;
///
/// ```rust,no_run
/// use qadapt::enter_protected;
/// use qadapt::exit_protected;
///
/// fn main() {
/// // Force an allocation by using a Box
@ -129,6 +130,7 @@ pub fn enter_protected() {
///
/// ```rust,no_run
/// use qadapt::enter_protected;
/// use qadapt::exit_protected;
///
/// fn main() {
/// // Force an allocation by using a Box