Adam Wagenhäuser
|
f3b24a7f76
|
Make the heapless to alloc Vec conversion fallible as well.
This allows to catch OOM errors.
|
2025-03-25 14:48:54 +01:00 |
|
Alex Martens
|
b8245158b9
|
Merge pull request #543 from pvdrz/remove-sealed-mod
Remove `sealed` module
|
2025-03-25 01:29:47 +00:00 |
|
Christian Poveda
|
18446d780f
|
Remove sealed module
|
2025-03-24 18:26:02 -05:00 |
|
Markus Reiter
|
bfc95984f3
|
Merge pull request #538 from pvdrz/remove-const-capacity
`Vec`: rename `storage_capacity` to `capacity` and remove the `const` version
|
2025-03-24 22:18:54 +00:00 |
|
Christian Poveda
|
fde68472b3
|
Update changelog
|
2025-03-24 16:24:55 -05:00 |
|
Christian Poveda
|
08f403fc3e
|
Vec : rename storage_capacity to capacity and remove the const version
|
2025-03-24 16:24:55 -05:00 |
|
Markus Reiter
|
b8a42532ce
|
Merge pull request #532 from newAM/sorted-linked-list-pop-ret-type
SortedLinkedList::pop: change return type to match std::vec::pop
|
2025-03-24 21:07:23 +00:00 |
|
Markus Reiter
|
fefcba70a9
|
Merge pull request #542 from pvdrz/clippy-fixes
Fix `clippy::nursery` warnings
|
2025-03-24 21:01:50 +00:00 |
|
Christian Poveda
|
d65abc245d
|
Fix clippy::option_if_let_else warnings
|
2025-03-24 11:57:59 -05:00 |
|
Christian Poveda
|
887a076c54
|
Fix clippy::redundant_pub_crate warnings
|
2025-03-24 11:57:59 -05:00 |
|
Christian Poveda
|
31a68def9a
|
Fix clippy::too_long_first_doc_paragraph warnings
|
2025-03-24 11:57:58 -05:00 |
|
Christian Poveda
|
e3e07b796b
|
Fix clippy::use_self warnings
|
2025-03-24 11:57:57 -05:00 |
|
Adam Wagenhäuser
|
d87e4f335a
|
Run cargo fmt.
|
2025-03-21 21:14:14 +01:00 |
|
Adam Wagenhäuser
|
070e399b96
|
Update Changelog.
|
2025-03-21 21:12:51 +01:00 |
|
Adam Wagenhäuser
|
cfc9b33fa3
|
Update docs on conversion trait impls.
|
2025-03-21 21:07:13 +01:00 |
|
Adam Wagenhäuser
|
e7a02ed780
|
Implement conversions between alloc and heapless vecs.
|
2025-03-21 18:20:49 +01:00 |
|
Daniel Egger
|
3c97d2f035
|
Merge pull request #502 from Nitrokey/vec-covariance
Re-introduce covariance for containers
|
2025-03-18 19:37:45 +00:00 |
|
Sosthène Guédon
|
dc5ed623eb
|
Re-introduce covariance for containers
|
2025-03-12 09:10:22 +01:00 |
|
Alex Martens
|
7e959054e4
|
lib.rs: remove unwrap from example
This follows the C-QUESTION-MARK API guideline.
Also we had missed an unwrap on one of the push calls.
|
2025-03-09 12:54:08 -07:00 |
|
Alex Martens
|
d54d8cb3e0
|
LinearMap: remove allow(clippy::map_identity)
This was previously required due to a false positive that has since
been resolved.
|
2025-03-09 11:16:24 -07:00 |
|
Alex Martens
|
1fdf663927
|
SortedLinkedList::pop: change return type to match std::vec::pop
|
2025-03-09 10:37:32 -07:00 |
|
Markus Reiter
|
2e71c18252
|
Merge pull request #521 from dysonltd/impl_eq_for_Deque
Implements PartialEq and Eq for Deque
|
2025-03-03 19:34:28 +00:00 |
|
William Hicklin
|
fc75aed0ff
|
Changed the PartialEq impl of Deque, replacing the if comparison chain with match + cmp, as requested by clippy.
|
2025-02-18 14:11:12 +00:00 |
|
William Hicklin
|
6e47051553
|
Added a changelog entry.
|
2025-02-18 14:11:12 +00:00 |
|
William Hicklin
|
a0726855eb
|
Implemented PartialEq and Eq for the heapless Deque. This implementation was copied form the colloctions VecDeque.
|
2025-02-18 14:11:12 +00:00 |
|
Alex Martens
|
346525f013
|
Merge pull request #528 from us-irs/docs-improvements
improvements for documentation
|
2025-02-15 17:30:21 +00:00 |
|
Robin Mueller
|
0f20e40dd0
|
improvements for documentation
|
2025-02-13 11:04:28 +01:00 |
|
Markus Reiter
|
3f9f5a1f5f
|
Merge pull request #527 from kariy/main
feat(string): make `from_utf8_unchecked` const
|
2025-02-03 18:16:47 +00:00 |
|
Markus Reiter
|
152a55eea9
|
Update changelog entry.
|
2025-02-03 19:15:12 +01:00 |
|
Ammar Arif
|
64594ac979
|
add changelog
|
2025-02-03 19:15:12 +01:00 |
|
Ammar Arif
|
aab8b6667e
|
feat(string): make from_utf8_unchecked const
|
2025-02-03 19:15:12 +01:00 |
|
Markus Reiter
|
96af9f7707
|
Merge pull request #523 from newAM/fix-clippy-lints
Fix clippy needless_lifetimes lint
|
2025-02-03 17:46:37 +00:00 |
|
Markus Reiter
|
07070cf268
|
Fix unnecessary_map_or warnings.
|
2025-02-03 18:43:45 +01:00 |
|
Alex Martens
|
dc158dc34a
|
Fix clippy needless_lifetimes lint
|
2024-12-15 09:05:01 -08:00 |
|
Dario Nieuwenhuis
|
0ebca23209
|
Merge pull request #508 from honzasp/deque-swap
Add `Deque::{swap, swap_unchecked, swap_remove_front, swap_remove_back}`
|
2024-10-27 19:13:20 +00:00 |
|
Jan Špaček
|
7967074ebd
|
Make Miri happy
|
2024-10-27 09:33:50 +01:00 |
|
Jan Špaček
|
b67f91233b
|
Add Deque::{swap, swap_unchecked, swap_remove_front, swap_remove_back}
|
2024-10-27 09:33:50 +01:00 |
|
Dario Nieuwenhuis
|
69add426a4
|
Merge pull request #513 from sourcebox/additions
Added `is_full` function to `BinaryHeap`, `IndexMap`, `IndexSet` and `LinearMap`
|
2024-10-07 14:21:31 +00:00 |
|
Dario Nieuwenhuis
|
0129924130
|
Merge branch 'main' into additions
|
2024-10-07 16:19:59 +02:00 |
|
Dario Nieuwenhuis
|
8ab2335382
|
Merge pull request #512 from sourcebox/doc-fixes
Rustdoc clippy and typo fixes
|
2024-10-07 13:29:51 +00:00 |
|
Oliver Rockstedt
|
d9012250d3
|
Fix for clippy warning in tests
|
2024-10-07 15:16:58 +02:00 |
|
Oliver Rockstedt
|
184adc7f54
|
Another fix for remaining clippy warnings
|
2024-10-07 15:04:19 +02:00 |
|
Oliver Rockstedt
|
dda9d7c1da
|
Fix for remaining clippy warnings
|
2024-10-07 15:00:13 +02:00 |
|
Oliver Rockstedt
|
0f4d52de91
|
Shortened the BinaryHeap::is_full example
|
2024-10-07 12:19:25 +02:00 |
|
Oliver Rockstedt
|
c603323c23
|
Added is_full to LinearMap
|
2024-10-07 12:17:31 +02:00 |
|
Oliver Rockstedt
|
f6b94876b9
|
Added is_full to IndexSet
|
2024-10-07 12:12:34 +02:00 |
|
Oliver Rockstedt
|
2ef05edf66
|
Added is_full to IndexMap
|
2024-10-07 12:09:09 +02:00 |
|
Oliver Rockstedt
|
0df6e11ad4
|
Added is_full to BinaryHeap
|
2024-10-07 12:01:13 +02:00 |
|
Oliver Rockstedt
|
5e66561085
|
Rustdoc clippy and typo fixes
|
2024-10-07 11:22:01 +02:00 |
|
Markus Reiter
|
f09c2199c5
|
Merge pull request #505 from GnomedDev/fix-deque-doc-mistake
Fix minor mistake in `DequeInner` docs
|
2024-07-20 22:19:14 +00:00 |
|