Commit graph

3 commits

Author SHA1 Message Date
7fa4a2079a
pkstrings: Remove TryFrom<String> for PKString
To force the user to use .as_st so that it's more obvious that we don't
take the ownership of the String.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-11-15 15:25:12 +01:00
d54e39dcf6
pkstrings: prefer String::from in example
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-11-14 15:46:42 +01:00
025828debc pkstrings: New strings example
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-11-14 01:49:35 +01:00