diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2020-03-06 12:13:55 +0100 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2020-03-06 15:19:31 +0100 |
| commit | 136ad015b6862274bf8c161dc5d2955409ed1465 (patch) | |
| tree | 44213c111b970f7f07b47611a2287e986a7f7a24 /src/libproc_macro/bridge | |
| parent | 865b44a3e330f3ef8be0f6edf69896c9ed957ac0 (diff) | |
| download | rust-136ad015b6862274bf8c161dc5d2955409ed1465.tar.gz rust-136ad015b6862274bf8c161dc5d2955409ed1465.zip | |
fix various typos
Diffstat (limited to 'src/libproc_macro/bridge')
| -rw-r--r-- | src/libproc_macro/bridge/client.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libproc_macro/bridge/client.rs b/src/libproc_macro/bridge/client.rs index dd948025c91..088db92253a 100644 --- a/src/libproc_macro/bridge/client.rs +++ b/src/libproc_macro/bridge/client.rs @@ -15,7 +15,7 @@ macro_rules! define_handles { } impl HandleCounters { - // FIXME(eddyb) use a reference to the `static COUNTERS`, intead of + // FIXME(eddyb) use a reference to the `static COUNTERS`, instead of // a wrapper `fn` pointer, once `const fn` can reference `static`s. extern "C" fn get() -> &'static Self { static COUNTERS: HandleCounters = HandleCounters { @@ -334,7 +334,7 @@ impl Bridge<'_> { #[repr(C)] #[derive(Copy, Clone)] pub struct Client<F> { - // FIXME(eddyb) use a reference to the `static COUNTERS`, intead of + // FIXME(eddyb) use a reference to the `static COUNTERS`, instead of // a wrapper `fn` pointer, once `const fn` can reference `static`s. pub(super) get_handle_counters: extern "C" fn() -> &'static HandleCounters, pub(super) run: extern "C" fn(Bridge<'_>, F) -> Buffer<u8>, |
