1186 Commits

Author SHA1 Message Date
Yota Toyama
977ea519d5 Add inline annotations 2025-04-07 19:30:51 -07:00
Yota Toyama
06a737a0aa Refactor Ord impl 2025-04-07 19:29:34 -07:00
Yota Toyama
bbd1d32885 Implement Ord 2025-04-07 19:23:29 -07:00
Yota Toyama
19f9c95cf8 Implement Hash 2025-04-07 19:06:24 -07:00
Yota Toyama
4f1bbe9b11 Implement equality with CStr 2025-04-07 19:03:09 -07:00
Yota Toyama
08f17940e7 Put semicolon 2025-04-07 18:57:54 -07:00
Yota Toyama
c677f39820 Implement Eq 2025-04-07 18:54:39 -07:00
Yota Toyama
2bf5f220ba Implement more reference traits 2025-04-07 18:37:13 -07:00
Yota Toyama
3b72afb011 Fix ufmt module again 2025-04-07 18:05:25 -07:00
Yota Toyama
639c165e9c Fix build 2025-04-07 18:01:12 -07:00
Yota Toyama
c212308fa5 Fix typo 2025-04-07 17:57:45 -07:00
Yota Toyama
acb9c07f8c Format files 2025-04-07 17:54:00 -07:00
Yota Toyama
d435b54130 Fix capacity in doc test 2025-04-07 17:53:42 -07:00
Yota Toyama
a355e669a0 Rename extend_from_bytes_unchecked function 2025-04-07 17:52:15 -07:00
Yota Toyama
a0ea259f8e Add ExtendError 2025-04-07 17:49:27 -07:00
Yota Toyama
afa1deb5b6 Rename variables in examples for consistency against std 2025-04-07 17:39:57 -07:00
Yota Toyama
07455ea38f Update documentation 2025-04-07 17:23:46 -07:00
Yota Toyama
f88ed84ca4 Rename inner storage field 2025-04-07 16:48:07 -07:00
Yota Toyama
dca288497d
Update src/c_string.rs
Co-authored-by: Markus Reiter <me@reitermark.us>
2025-04-08 07:45:18 +08:00
Yota Toyama
67750fc793 Use capital letters for SAFETY inline comments 2025-04-07 16:44:29 -07:00
Yota Toyama
bbc658c7b8
Update src/c_string.rs
Co-authored-by: Markus Reiter <me@reitermark.us>
2025-04-08 07:43:14 +08:00
Yota Toyama
bf3d33676d Use static assert 2025-04-07 16:40:11 -07:00
Yota Toyama
8b061aa958 Update documentation 2025-04-07 16:35:03 -07:00
Yota Toyama
deab0ad643 Remove unused import 2025-04-07 16:34:27 -07:00
Yota Toyama
96cfc038a5 Remove utility functions that should be implemented in the upstream 2025-04-07 16:30:39 -07:00
Yota Toyama
1d64fb0a55 Fix safety comments on pop_terminator 2025-04-07 16:27:44 -07:00
Yota Toyama
435615bf26
Merge branch 'main' into cstring 2025-04-08 08:24:37 +09:00
Yota Toyama
6f9ce94c19 Insert blank lines 2025-04-07 16:23:55 -07:00
Markus Reiter
06a96b70ff
Merge pull request #550 from Nitrokey/add-fixme
Add FIXME prefix to temporary workaround
2025-04-07 12:01:47 +00:00
Sosthène Guédon
2680f71965
Add FIXME prefix to temporary workaround
See https://github.com/rust-embedded/heapless/pull/500#discussion_r2029972717
2025-04-07 09:21:15 +02:00
Yota Toyama
0439fb3488 Rename from_raw function for consistency against alloc crate 2025-04-06 21:09:55 -07:00
Yota Toyama
0c4423d6e6 Remove unused comment 2025-04-06 21:08:36 -07:00
Yota Toyama
d50734a80b Refactor 2025-04-06 21:06:02 -07:00
Yota Toyama
1222150339 Refactor unit tests further 2025-04-06 20:59:31 -07:00
Yota Toyama
8304fd8c0e Refactor unit tests 2025-04-06 20:58:43 -07:00
Yota Toyama
fb8525bad4 Refactor terminator pop 2025-04-06 20:54:40 -07:00
Yota Toyama
424f5ab39c Reference core library instead in examples 2025-04-06 20:51:27 -07:00
Yota Toyama
eb085c5464 Refactor tests 2025-04-06 20:08:10 -07:00
Yota Toyama
063393d176 Fix function reference in documentation 2025-04-06 20:06:43 -07:00
Yota Toyama
e32c619838 Remove to_str implementation 2025-04-06 20:02:52 -07:00
Yota Toyama
10954469b3 Revert "Refactor unsafe constructor"
This reverts commit 55c7996aba3341501aa3843bd6e756e023f1814e.
2025-04-06 19:57:54 -07:00
Yota Toyama
ccbff00dba Refactor documentation 2025-04-06 19:56:49 -07:00
Yota Toyama
55c7996aba Refactor unsafe constructor 2025-04-06 19:54:33 -07:00
Yota Toyama
aab502534d Refactor documentation 2025-04-06 19:51:47 -07:00
Yota Toyama
d255496908 Remove len() associated function 2025-04-06 19:19:21 -07:00
Yota Toyama
4cc768a9d9 Rename null nul everywhere 2025-04-06 19:17:06 -07:00
Yota Toyama
32c3141c05 Update documentation 2025-04-06 19:16:38 -07:00
Yota Toyama
e0bb7fa249 Fix linting errors 2025-04-06 19:06:54 -07:00
Yota Toyama
26f4ad2808 Fix c_string module name in ufmt module 2025-04-06 19:02:36 -07:00
Yota Toyama
71ce32c6be Rename CAP const parameter in documentation 2025-04-06 19:00:45 -07:00