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:
@ -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
|
||||
|
Reference in New Issue
Block a user