diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-06 19:06:56 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-06 19:06:56 +0200 |
| commit | 219f14355b5df9a93210895d47f77b028291e788 (patch) | |
| tree | 1d1a0549a3b49125ea7cd054cfc2e10b4c222c7b /cli/src | |
| parent | f453565ebf061581f398eb3a5dcfb7a35a5ad04a (diff) | |
Rename `into_u16` to `as_u16`
Diffstat (limited to 'cli/src')
| -rw-r--r-- | cli/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/main.rs b/cli/src/main.rs index 09ba0515..d0cf6139 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -570,7 +570,7 @@ impl World for SystemWorld { } fn source(&self, id: SourceId) -> &Source { - &self.sources[id.into_u16() as usize] + &self.sources[id.as_u16() as usize] } fn book(&self) -> &Prehashed<FontBook> { |
