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 {
|
||||
/// fn to_estring(&self) -> EString {
|
||||
/// 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)
|
||||
/// }
|
||||
/// }
|
||||
|
|
Reference in a new issue