diff options
| author | Myriad-Dreamin <35292584+Myriad-Dreamin@users.noreply.github.com> | 2024-07-14 21:14:21 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-14 13:14:21 +0000 |
| commit | a3f3a1a83330e3fe9a686fbe4c0eda9f1e9e99b2 (patch) | |
| tree | 0c6b10649101d75573e453498901907bdec5a8b3 /tests/src/world.rs | |
| parent | 4d8976b619fbb2ab19c1e46fccbca4294c0c2d0b (diff) | |
Change the signature of `World::main` (#4531)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tests/src/world.rs')
| -rw-r--r-- | tests/src/world.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/world.rs b/tests/src/world.rs index ad925a53..47b77d7e 100644 --- a/tests/src/world.rs +++ b/tests/src/world.rs @@ -43,8 +43,8 @@ impl World for TestWorld { &self.base.book } - fn main(&self) -> Source { - self.main.clone() + fn main(&self) -> FileId { + self.main.id() } fn source(&self, id: FileId) -> FileResult<Source> { |
