We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4f4f4 commit 64c8b5cCopy full SHA for 64c8b5c
src/core/array.rs
@@ -160,7 +160,7 @@ extern "C" {
160
/// All operators(traits) from std::ops module implemented for Array object
161
/// carry out element wise operations. For example, `*` does multiplication of
162
/// elements at corresponding locations in two different Arrays.
163
-pub struct Array<T: HasAfEnum> {
+pub struct Array<T> {
164
handle: af_array,
165
/// The phantom marker denotes the
166
/// allocation of data on compute device
@@ -702,8 +702,6 @@ where
702
703
/// To free resources when Array goes out of scope
704
impl<T> Drop for Array<T>
705
-where
706
- T: HasAfEnum,
707
{
708
fn drop(&mut self) {
709
unsafe {
0 commit comments