Skip to content

Commit

Permalink
clean up process_root_unconditionally() documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevossen5 committed Oct 25, 2021
1 parent 39d797f commit 88a2119
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lalrpop/src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,14 @@ pub fn process_root() -> Result<(), Box<dyn Error>> {
Configuration::new().process_current_dir()
}

/// Deprecated in favor of `Configuration`. Try:
/// Deprecated in favor of `Configuration`.
///
/// Instead, consider using:
///
/// ```rust
/// Configuration::new().force_build(true).process_current_dir()
/// ```
///
/// instead.
pub fn process_root_unconditionally() -> Result<(), Box<dyn Error>> {
Configuration::new().force_build(true).process_current_dir()
}

0 comments on commit 88a2119

Please sign in to comment.