Commit Graph

27 Commits

Author SHA1 Message Date
ayazhafiz
0626433a14 Sweep unused deps
`cargo +nightly udeps` told me what's good
2022-05-06 22:54:42 -04:00
Folkert
b6e8509e89
more inline 2022-04-26 09:14:44 +02:00
Richard Feldman
d903ac59f3
Make From<String> for IdentStr reuse allocation 2022-04-20 21:39:09 -04:00
Folkert
5ec2c4f1df
make IdentStr len() const 2022-03-22 22:45:19 +01:00
Richard Feldman
92ec38cf3c
Document SMALL_STR_BYTES calculation 2022-03-19 21:18:02 -04:00
Folkert
94c72fce5e
remove unused import 2022-03-19 00:07:05 +01:00
Folkert
988ab8775b
fix miscompilation for wasm 2022-03-18 23:11:28 +01:00
Folkert
813b22a106
remove allocation in Symbol creation 2022-03-18 22:07:12 +01:00
Tom Dohrmann
f1a18d6097 don't create slice from null pointer 2022-02-25 17:15:07 +01:00
Tom Dohrmann
ba311319bf move safe code out of unsafe block 2022-02-25 17:10:47 +01:00
Tom Dohrmann
25c668d72c simplify write_c_str and fix type 2022-02-25 17:03:30 +01:00
Tom Dohrmann
466d12a6ff simplify from_str 2022-02-25 17:01:35 +01:00
Tom Dohrmann
ea3f6210fa change from_slice to from_str 2022-02-25 16:59:39 +01:00
Tom Dohrmann
edd02e01e1 simplify clone 2022-02-25 16:56:50 +01:00
Tom Dohrmann
d2ff36c535 simplify get 2022-02-25 16:54:18 +01:00
Tom Dohrmann
f248643890 use Rust's default allocator 2022-02-25 16:51:49 +01:00
Tom Dohrmann
5245770e1a fix copy_length 2022-02-25 15:15:07 +01:00
Folkert
56375ef69d check for empty string on IdentStr drop impl 2022-02-15 20:50:04 +01:00
Folkert
4af9539ce6 fixes by cargo clippy --fix 2021-12-05 15:04:28 +01:00
Anton-4
0a77b3f334 debugging wrong id in docs test 2021-10-18 19:58:03 +02:00
rvcas
62cc675f10 chore: add as_str to debug 2021-08-04 16:09:15 -04:00
Folkert
ceb5cc66fa use IdentStr 2021-08-03 21:14:36 +02:00
Folkert
9361f45610 use IdentStr for TagName 2021-08-03 19:28:28 +02:00
Richard Feldman
2cb001235d Change write_c_str API 2021-08-03 07:19:59 -04:00
Richard Feldman
7b9604cf21 Remove unnecessary unsafe annotation 2021-08-03 07:17:56 -04:00
Richard Feldman
35c202bfb2 Use IdentStr::default over ::empty 2021-08-03 07:15:41 -04:00
Richard Feldman
00eefa1947 Add IdentStr 2021-08-02 23:54:10 -04:00