Skip to content

Commit

Permalink
deploy: afc4edd
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Nov 10, 2023
1 parent 011de95 commit e326713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpris_server/local_server.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@

<span class="comment">// If we use `PhantomData&lt;T&gt;` and `T` is not `Send` and `Sync`, we get a compile error
// when using `InnerImp` in the inner non-local `Server` as it requires `T` to be `Send`
// and `Sync`, which defeats the purpose of `local::Server`. So, we need to use `fn() -&gt; T`
// and `Sync`, which defeats the purpose of `LocalServer`. So, we need to use `fn() -&gt; T`
// in `PhantomData` to preserve the type information without requiring `T` to be `Send`
// and `Sync` for `InnerImp` to be `Send` and `Sync`.
</span>imp_ty: PhantomData&lt;<span class="kw">fn</span>() -&gt; T&gt;,
Expand Down

0 comments on commit e326713

Please sign in to comment.