core: fix changes in doc
This commit is contained in:
parent
84330c9d9f
commit
64bbf18ac8
1 changed files with 2 additions and 3 deletions
|
@ -112,7 +112,7 @@ pub trait ParseFragment: Sized {
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// You can create a ``EString`` from a any type that implement [Display] with ``EString::from``
|
/// You can create a ``EString`` from a any type that implement ``ToEString`` with ``EString::from``
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// # use estring::EString;
|
/// # use estring::EString;
|
||||||
|
@ -120,8 +120,7 @@ pub trait ParseFragment: Sized {
|
||||||
/// let num = EString::from("999");
|
/// let num = EString::from("999");
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// You can create a ``EString`` from a any type that implement ``ToEString`` with
|
/// You can use ``ToEString::to_estring`` directly on the type.
|
||||||
/// ``ToEString::to_estring``.
|
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// # use estring::ToEString;
|
/// # use estring::ToEString;
|
||||||
|
|
Reference in a new issue