We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b25b2f0 commit 20741d1Copy full SHA for 20741d1
capnp-rpc/examples/pubsub/server.rs
@@ -167,8 +167,7 @@ pub async fn main() -> Result<(), Box<dyn std::error::Error>> {
167
subscriber.requests_in_flight += 1;
168
let mut request = subscriber.client.push_message_request();
169
request.get().set_message(
170
- (&format!("system time is: {:?}", ::std::time::SystemTime::now())
171
- [..])
+ format!("system time is: {:?}", ::std::time::SystemTime::now())[..]
172
.into(),
173
)?;
174
let subscribers2 = subscribers1.clone();
0 commit comments