remove use of anyhow in doctest

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-11-20 09:45:09 +01:00
parent 38d6ba9a55
commit 893f7299f0

View File

@ -187,7 +187,7 @@ pub fn stack_push(value: crate::Mortal) {
/// # struct Output;
///
/// # fn code_to_extract_parameters() {}
/// # fn actual_rust_function(_arg: ()) -> Result<Output, anyhow::Error> { Ok(Output) }
/// # fn actual_rust_function(_arg: ()) -> Result<Output, String> { Ok(Output) }
/// #[no_mangle]
/// pub extern "C" fn exported_name(cv: &::perlmod::ffi::CV) {
/// unsafe {