fix: usability
This commit is contained in:
parent
636e1f51e4
commit
1ddeb08c8e
1 changed files with 4 additions and 1 deletions
|
@ -551,7 +551,10 @@ impl std::convert::AsRef<[u8]> for OkId {
|
||||||
|
|
||||||
/// A type that represents a path that is safe to use in a URL.
|
/// A type that represents a path that is safe to use in a URL.
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
pub struct PathSafe(OkId);
|
pub struct PathSafe(
|
||||||
|
/// Innder okdi
|
||||||
|
pub OkId
|
||||||
|
);
|
||||||
|
|
||||||
impl From<OkId> for PathSafe {
|
impl From<OkId> for PathSafe {
|
||||||
fn from(okid: OkId) -> Self {
|
fn from(okid: OkId) -> Self {
|
||||||
|
|
Loading…
Reference in a new issue