diff options
author | Lukas Wirth <[email protected]> | 2021-01-12 19:19:13 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-01-13 12:29:47 +0000 |
commit | 3d6480bc3103f7238b1b0e020518e8aa72af3156 (patch) | |
tree | 080939aab1f5304b0ba22615547baa16141e83df /crates/ide_db/src/helpers | |
parent | e9e3ab549d5a73f85e19eed5b915d78870f8892c (diff) |
Render Fn* trait objects and impl types as rust does
Diffstat (limited to 'crates/ide_db/src/helpers')
-rw-r--r-- | crates/ide_db/src/helpers/famous_defs_fixture.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide_db/src/helpers/famous_defs_fixture.rs b/crates/ide_db/src/helpers/famous_defs_fixture.rs index f3d355861..5e88de64d 100644 --- a/crates/ide_db/src/helpers/famous_defs_fixture.rs +++ b/crates/ide_db/src/helpers/famous_defs_fixture.rs | |||
@@ -1,4 +1,5 @@ | |||
1 | //- /libcore.rs crate:core | 1 | //- /libcore.rs crate:core |
2 | //! Signatures of traits, types and functions from the core lib for use in tests. | ||
2 | pub mod convert { | 3 | pub mod convert { |
3 | pub trait From<T> { | 4 | pub trait From<T> { |
4 | fn from(t: T) -> Self; | 5 | fn from(t: T) -> Self; |