Cleaned up docs.

[?]
Jul 2, 2021, 11:09 PM
3K5KIVGX4QICSTMTTBQYUSLS37MJTDSSGTIV3ORRERF46ERGELTAC

Dependencies

Change contents

  • edit in src/lib.rs at line 1
    [3.18441][2.214:241]()
    // #![deny(missing_docs)]
  • replacement in src/lib.rs at line 7
    [3.1745][3.1745:1792](),[3.1792][2.266:306](),[2.306][3.1792:1841](),[3.1792][3.1792:1841](),[3.1841][2.307:423](),[2.423][3.1841:1907](),[3.1841][3.1841:1907](),[3.1907][2.424:529](),[2.529][3.1907:1937](),[3.1907][3.1907:1937]()
    pub use crate::error::{
    bad_first_segment,
    cannot_resolve_token_with_siblings,
    empty_path,
    expected_key_found_keyvalue,
    expected_keyvalue_found_key,
    expected_unique_keyvalue_found_multi,
    expected_unique_keyvalue_found_none,
    expected_unique_token_found_multi,
    failed_to_parse_value,
    first_segment_mismatch,
    keypath_extends_beyond_keyvalue,
    keypath_segment_does_not_match_key,
    no_child_with_segment,
    };
    [3.1745]
    [3.18552]
    use crate::error::*;
  • edit in src/lib.rs at line 28
    [2.859][2.859:956]()
    pub (crate) fn segment(&self) -> String {
    self.segments[self.counter].clone()
    }
  • edit in src/lib.rs at line 73
    [2.2058][2.2058:2059](),[2.2059][3.19268:19317](),[3.19268][3.19268:19317]()
    // We could insert position in here as we parse.
  • replacement in src/lib.rs at line 79
    [3.19445][3.19445:19511]()
    next: Option<usize>, // refers to Vec index for now
    [3.19445]
    [3.1938]
    next: Option<usize>,
  • replacement in src/lib.rs at line 85
    [3.19648][3.19648:19714]()
    next: Option<usize>, // refers to Vec index for now
    [3.19648]
    [3.1967]
    next: Option<usize>,
  • replacement in src/lib.rs at line 121
    [3.21081][3.21081:21156]()
    // Set the next iteration of the Token to a token with indext token_i.
    [3.20896]
    [3.21156]
    // Set the next iteration of the Token to a token with index token_i.
  • edit in src/lib.rs at line 233
    [3.90][3.90:107](),[3.107][2.3652:3965]()
    }
    }
    pub (crate) fn assert_top_token_has_no_siblings(&self) -> Result<()> {
    if self.top_token().next().is_none() {
    Ok(())
    } else {
    Err(cannot_resolve_token_with_siblings(
    &self.top_token().to_string(),
    self.top_token().line(),
    ))
  • replacement in src/lib.rs at line 382
    [3.27190][2.7922:7972]()
    (token @ Token::Key {..}, false) => {
    [3.27190]
    [3.27595]
    (Token::Key {..}, false) => {
  • edit in src/lib.rs at line 389
    [2.8225][3.27651:27652](),[3.27651][3.27651:27652](),[3.27652][2.8226:8351]()
    // dbg!(&self);
    // dbg!(&path);
    // self.assert_top_token_has_no_siblings()?;
  • replacement in src/lib.rs at line 417
    [2.9248][2.9248:9272]()
    dbg!();
    [2.9248]
    [2.9272]