File tree Expand file tree Collapse file tree
crates/wasm-pkg-client/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,16 +63,6 @@ impl<T: Cache> CachingClient<T> {
6363 }
6464 }
6565
66- async fn with_overlays (
67- mut self ,
68- overlays : impl IntoIterator < Item = ( Registry , Arc < InnerClient > ) > ,
69- ) -> Self {
70- if let Some ( client) = & mut self . client {
71- client. overlays = overlays. into_iter ( ) . collect ( ) ;
72- }
73- self
74- }
75-
7666 /// Returns whether or not the client is in read-only mode.
7767 pub fn is_readonly ( & self ) -> bool {
7868 self . client . is_none ( )
Original file line number Diff line number Diff line change @@ -109,19 +109,6 @@ impl Client {
109109 }
110110 }
111111
112- /// Like [`Self::new`] but includes sources from source
113- /// replacement configurations.
114- pub fn new_with_overlays (
115- config : Config ,
116- overlays : impl IntoIterator < Item = ( Registry , Arc < InnerClient > ) > ,
117- ) -> Self {
118- Self {
119- config : Arc :: new ( config) ,
120- sources : Default :: default ( ) ,
121- overlays : overlays. into_iter ( ) . collect ( ) ,
122- }
123- }
124-
125112 /// Returns a reference to the configuration this client was initialized with.
126113 pub fn config ( & self ) -> & Config {
127114 & self . config
You can’t perform that action at this time.
0 commit comments