core: format doc

This commit is contained in:
Dmitriy Pleshevskiy 2022-07-27 16:25:54 +03:00
parent 7ed5ee68e8
commit 85fbf7c9e8
1 changed files with 3 additions and 1 deletions

View File

@ -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)
/// }
/// }