mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
clippy: Fix missing indentation in comments and remove on unecessary cast (#33026)
* Add missing indendations in comments. Signed-off-by: Daniel Frantes <danfrantes@seznam.cz> * Fix test tidy error Signed-off-by: Daniel Frantes <danfrantes@seznam.cz> --------- Signed-off-by: Daniel Frantes <danfrantes@seznam.cz>
This commit is contained in:
parent
ea5cf75169
commit
5d6840873a
4 changed files with 5 additions and 6 deletions
|
@ -519,7 +519,7 @@ fn translate_including_floats(cur_b: &mut Au, delta: Au, floats: &mut Floats) {
|
|||
/// This is a traversal of an Absolute Flow tree.
|
||||
/// - Relatively positioned flows and the Root flow start new Absolute flow trees.
|
||||
/// - The kids of a flow in this tree will be the flows for which it is the
|
||||
/// absolute Containing Block.
|
||||
/// absolute Containing Block.
|
||||
/// - Thus, leaf nodes and inner non-root nodes are all Absolute Flows.
|
||||
///
|
||||
/// A Flow tree can have several Absolute Flow trees (depending on the number
|
||||
|
|
|
@ -89,7 +89,7 @@ static DEFAULT_REPLACED_HEIGHT: i32 = 150;
|
|||
/// specification:
|
||||
///
|
||||
/// * Several fragments may correspond to the same CSS box or DOM node. For example, a CSS text box
|
||||
/// broken across two lines is represented by two fragments.
|
||||
/// broken across two lines is represented by two fragments.
|
||||
///
|
||||
/// * Some CSS fragments are not created at all, such as some anonymous block fragments induced by
|
||||
/// inline fragments with block-level sibling fragments. In that case, Servo uses an `InlineFlow`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue