about summary refs log tree commit diff
path: root/src/libproc_macro
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-07 17:27:32 +0100
committerGitHub <noreply@github.com>2020-03-07 17:27:32 +0100
commit10f999b72d24fa181a3ec54fd21807b6a664e615 (patch)
tree17a54913e18979912f3e0297f61acaa193ba24e6 /src/libproc_macro
parente6d4996a436497a0344eaba80615e3643389b89b (diff)
parent4c2b0f1631f40f7dce7292b3b3b4e2a752b82f7f (diff)
Rollup merge of #69773 - matthiaskrgr:typos, r=petrochenkov
fix various typos
Diffstat (limited to 'src/libproc_macro')
-rw-r--r--src/libproc_macro/bridge/client.rs4
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>,