mirror of
https://github.com/openharmony/third_party_rust_tinyvec.git
synced 2026-07-19 14:23:33 -04:00
fix my own error
This commit is contained in:
+1
-1
@@ -134,7 +134,7 @@ where
|
||||
arr.swap(i, l1);
|
||||
}
|
||||
self.len -= L::from(1);
|
||||
return take(&mut arr[l1]);
|
||||
return Some(take(&mut arr[l1]));
|
||||
}
|
||||
}
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user