mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix warning in doc comment
This commit is contained in:
parent
f78d54a834
commit
13590c302a
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ pub struct TypesetWord {
|
|||
/// overall height for the word
|
||||
pub height: i16,
|
||||
/// set if this `word` is not drawable, e.g. a newline placeholder.
|
||||
/// *however* the Vec<GlyphSprite> should still be checked for an insertion point, so that
|
||||
/// *however* the `Vec<GlyphSprite>` should still be checked for an insertion point, so that
|
||||
/// successive newlines properly get their insertion point drawn
|
||||
pub non_drawable: bool,
|
||||
/// the position in the originating abstract string of the first character in the word
|
||||
|
|
@ -294,7 +294,7 @@ impl Typesetter {
|
|||
/// the caller must reset the cursor to the desired resume position, otherwise it will pick
|
||||
/// up again at the overflow position.
|
||||
///
|
||||
/// The final Vec::<TypesetWord> is snapped to the top left of the Renderable region. This
|
||||
/// The final `Vec::<TypesetWord>` is snapped to the top left of the Renderable region. This
|
||||
/// needs to be transformed into the final screen coordinate space before blitting.
|
||||
pub fn typeset(&mut self, strat: OverflowStrategy) -> ComposedType {
|
||||
// a composition only lasts as long as the lifetime of this call, and is passed back to the caller
|
||||
|
|
|
|||
Loading…
Reference in a new issue