File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,17 @@ macro_rules! mem_info {
60
60
61
61
/// Join multiple Arrays along a given dimension
62
62
///
63
+ /// All the Arrays provided to this macro should be of type `&Array`
64
+ ///
63
65
/// # Examples
64
66
///
65
67
/// ```
66
68
/// # #[macro_use] extern crate arrayfire;
67
69
/// # fn main() {
68
- /// let a = randu::<f32>(Dim4::new(&[5, 3, 1, 1])).unwrap();
69
- /// let b = randu::<f32>(Dim4::new(&[5, 3, 1, 1])).unwrap();
70
- /// let c = randu::<f32>(Dim4::new(&[5, 3, 1, 1])).unwrap();
71
- /// let d = join_many![2, a, b, c];
70
+ /// let a = & randu::<f32>(Dim4::new(&[5, 3, 1, 1])).unwrap();
71
+ /// let b = & randu::<f32>(Dim4::new(&[5, 3, 1, 1])).unwrap();
72
+ /// let c = & randu::<f32>(Dim4::new(&[5, 3, 1, 1])).unwrap();
73
+ /// let d = join_many![2; a, b, c];
72
74
/// # }
73
75
/// ```
74
76
///
You can’t perform that action at this time.
0 commit comments