diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-01-08 23:48:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 23:48:46 +0100 |
commit | c41d4ff90e09b63bd1894052352a5acba57b1704 (patch) | |
tree | 52be95551ed263c2f4831aaefc78bb6fdda6d89c /ext/net/ops.rs | |
parent | 2be1282be42369e558cc77f75b22488ce7a8215e (diff) |
feat(core): allow specifying name and dependencies of an Extension (#17301)
Diffstat (limited to 'ext/net/ops.rs')
-rw-r--r-- | ext/net/ops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/net/ops.rs b/ext/net/ops.rs index 583ce6b45..5f832a4b9 100644 --- a/ext/net/ops.rs +++ b/ext/net/ops.rs @@ -865,7 +865,7 @@ mod tests { let listener = TcpListener::bind(addr).await.unwrap(); let _ = listener.accept().await; }); - let my_ext = Extension::builder() + let my_ext = Extension::builder("test_ext") .state(move |state| { state.put(TestPermission {}); state.put(UnstableChecker { unstable: true }); |