Skip to content

Commit 64c8b5c

Browse files
committed
nits
1 parent 5a4f4f4 commit 64c8b5c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/core/array.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ extern "C" {
160160
/// All operators(traits) from std::ops module implemented for Array object
161161
/// carry out element wise operations. For example, `*` does multiplication of
162162
/// elements at corresponding locations in two different Arrays.
163-
pub struct Array<T: HasAfEnum> {
163+
pub struct Array<T> {
164164
handle: af_array,
165165
/// The phantom marker denotes the
166166
/// allocation of data on compute device
@@ -702,8 +702,6 @@ where
702702

703703
/// To free resources when Array goes out of scope
704704
impl<T> Drop for Array<T>
705-
where
706-
T: HasAfEnum,
707705
{
708706
fn drop(&mut self) {
709707
unsafe {

0 commit comments

Comments
 (0)