cloud-hypervisor/hypervisor
Alyssa Ross 755cabea4c hypervisor: use proper doc tests for examples
It seems like these examples were always intended to be doctests,
since there are lines marked with "#" so that they are excluded from
the generated documentation, but they were not recognised as doc tests
because they were not formatted correctly.

The code needed some adjustments so that it would actually compile and
run as doctests.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
2023-04-05 11:22:47 +01:00
..
src hypervisor: use proper doc tests for examples 2023-04-05 11:22:47 +01:00
Cargo.toml hypervisor: make buildable independently 2023-04-04 09:57:19 -07:00