mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Correct a variety of documentation issues (#34786)
Fix some warnings in documentation as well as some faulty documentation introduced in #34776. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
3aa9e00e4e
commit
93ae8d22fc
11 changed files with 20 additions and 19 deletions
|
@ -36,7 +36,7 @@ pub fn str_to_num(s: &str) -> f64 {
|
|||
s.trim().parse().unwrap_or(f64::NAN)
|
||||
}
|
||||
|
||||
/// Helper for PartialEq<Value> implementations
|
||||
/// Helper for `PartialEq<Value>` implementations
|
||||
fn str_vals(nodes: &[DomRoot<Node>]) -> HashSet<String> {
|
||||
nodes
|
||||
.iter()
|
||||
|
@ -44,7 +44,7 @@ fn str_vals(nodes: &[DomRoot<Node>]) -> HashSet<String> {
|
|||
.collect()
|
||||
}
|
||||
|
||||
/// Helper for PartialEq<Value> implementations
|
||||
/// Helper for `PartialEq<Value>` implementations
|
||||
fn num_vals(nodes: &[DomRoot<Node>]) -> Vec<f64> {
|
||||
nodes
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue