Commit 52758581ef

52758581efbcc150860c89ce16471f33cd3833f2

parent: c3559a790b

Unsigned

Denis Kasak <dkasak@termina.org.uk> · 2020-09-18 11:20 UTC

Reword comment slightly.

Layout: unified · split

src/render.rs +3 −3
@@ -50,9 +50,9 @@ pub trait Render {
5050 /// The event specific tags that should be attached to the rendered event.
5151 const TAGS: &'static [&'static str];
5252
53 /// Some events might need additional context to be rendered, for example if
54 /// we want to display the sender, we don't want to display the mxid,
55 /// instead we want to display the disambiguated display name.
53 /// Some events might need additional context to be rendered. For example,
54 /// instead of displaying the MXID for the sender, we might want to display
55 /// the disambiguated display name, which isn't available in the event.
5656 ///
5757 /// This allows the render implementation to be passed some additional data
5858 /// when rendering.