Fix typo in from_toml_path
This commit is contained in:
parent
17995e1539
commit
3d0ea5a099
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user