Skip to content

Commit bb66ff8

Browse files
committed
fix documentation imports
1 parent 1b146b0 commit bb66ff8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/values/callable_value.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::convert::{TryFrom};
1+
use std::convert::TryFrom;
22
use either::Either;
33

44
use crate::values::AsValueRef;
@@ -8,6 +8,12 @@ use llvm_sys::prelude::LLVMValueRef;
88
use llvm_sys::core::{LLVMGetTypeKind, LLVMGetElementType, LLVMTypeOf, LLVMGetReturnType};
99
use llvm_sys::LLVMTypeKind;
1010

11+
// imports used in documentation
12+
#[allow(unused_imports)]
13+
use crate::builder::Builder;
14+
#[allow(unused_imports)]
15+
use std::convert::TryInto;
16+
1117
/// A value that can be called with the [`Builder::build_call`] instruction.
1218
///
1319
/// In practice, the `F : Into<CallableValue<'ctx>>` bound of [`Builder::build_call`] means it is

0 commit comments

Comments
 (0)