aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index 8c8073f..cc868ff 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -480,8 +480,8 @@ impl StreamState {
writable: bool,
mode: String,
uri: String,
- ) -> PhpResource {
- PhpResource::Stream(std::rc::Rc::new(std::cell::RefCell::new(StreamState {
+ ) -> StreamState {
+ StreamState {
backing,
readable,
writable,
@@ -489,6 +489,6 @@ impl StreamState {
closed: false,
mode,
uri,
- })))
+ }
}
}