mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-13 22:00:01 +00:00
ByteBuffer: actually test the doc comment code
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
816015ed01
commit
8bae897ff6
@ -13,6 +13,7 @@
|
||||
//! assert_eq!(data.len(), amount);
|
||||
//! Ok(data)
|
||||
//! }
|
||||
//! # code(&mut &b"testdata"[..]).expect("byte buffer test failed");
|
||||
//! ```
|
||||
|
||||
use std::cmp::min;
|
||||
|
Loading…
Reference in New Issue
Block a user