core: format doc

This commit is contained in:
Dmitriy Pleshevskiy 2022-07-27 16:25:54 +03:00
parent 7ed5ee68e8
commit 85fbf7c9e8

View file

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