core: format doc
This commit is contained in:
parent
7ed5ee68e8
commit
85fbf7c9e8
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@
|
||||||
/// impl ToEString for Point {
|
/// impl ToEString for Point {
|
||||||
/// fn to_estring(&self) -> EString {
|
/// fn to_estring(&self) -> EString {
|
||||||
/// let mut res = String::new();
|
/// let mut res = String::new();
|
||||||
/// write!(res, "({},{})", self.x, self.y).ok().expect("Cannot format Point into EString");
|
/// write!(res, "({},{})", self.x, self.y)
|
||||||
|
/// .ok()
|
||||||
|
/// .expect("Cannot format Point into EString");
|
||||||
/// EString(res)
|
/// EString(res)
|
||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
|
|
Reference in a new issue