We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Debug
Array
1 parent 81196f2 commit c6c2a87Copy full SHA for c6c2a87
1 file changed
tests/mod.rs
@@ -155,6 +155,12 @@ fn cast_slice_to_core_mut() {
155
assert_eq!(slice[1], [3, 4]);
156
}
157
158
+#[test]
159
+fn debug() {
160
+ let arr: Array<u8, U3> = Array([1, 2, 3]);
161
+ assert_eq!(format!("{arr:?}"), "Array([1, 2, 3])");
162
+}
163
+
164
#[test]
165
fn from_hybrid_array_for_core_array() {
166
let hybrid_arr: Array<u8, U2> = Array([1, 2]);
0 commit comments