diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-07 14:48:58 +0100 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-07 14:48:58 +0100 |
commit | 6c31f5b0a79c8b97110aaf854b839b57811c375a (patch) | |
tree | fe355f80c97e9e5fafe787ff0c9d5dd176df2c41 /crates/ra_prof | |
parent | 89bfc59f1adc4c41235c4a17048c79c570eff6f4 (diff) | |
parent | 1c582be63b35c6602638023d4bd0bc426b0ca744 (diff) |
Merge #1499
1499: processing attribute #[path] of module r=matklad a=andreevlex
support two cases
- simple name file `foo.rs`
- declaration in mod.rs
#1211
Co-authored-by: Alexander Andreev <[email protected]>
Diffstat (limited to 'crates/ra_prof')
-rw-r--r-- | crates/ra_prof/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_prof/src/lib.rs b/crates/ra_prof/src/lib.rs index 919cc1b3c..6d44fef33 100644 --- a/crates/ra_prof/src/lib.rs +++ b/crates/ra_prof/src/lib.rs | |||
@@ -52,7 +52,7 @@ pub fn set_filter(f: Filter) { | |||
52 | /// It supports nested profiling scopes in case when this function invoked multiple times at the execution stack. In this case the profiling information will be nested at the output. | 52 | /// It supports nested profiling scopes in case when this function invoked multiple times at the execution stack. In this case the profiling information will be nested at the output. |
53 | /// Profiling information is being printed in the stderr. | 53 | /// Profiling information is being printed in the stderr. |
54 | /// | 54 | /// |
55 | /// #Example | 55 | /// # Example |
56 | /// ``` | 56 | /// ``` |
57 | /// use ra_prof::{profile, set_filter, Filter}; | 57 | /// use ra_prof::{profile, set_filter, Filter}; |
58 | /// | 58 | /// |