Fix typo in from_toml_path

This commit is contained in:
Ravi Khadiwala 2017-05-30 22:24:12 -05:00
parent 17995e1539
commit 3d0ea5a099

View file

@ -355,7 +355,7 @@ macro_rules! create_config {
/// Construct a `Config` from the toml file specified at `file_path`.
///
/// This method only looks at the provided path, for a method that
/// searches parents for an `rls.toml` see `resolve_config`.
/// searches parents for a `rustfmt.toml` see `from_resolved_toml_path`.
///
/// Return a `Config` if the config could be read and parsed from
/// the file, Error otherwise.