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 0cc3790 commit 833a06eCopy full SHA for 833a06e
ops/op2/mod.rs
@@ -254,7 +254,7 @@ pub(crate) fn generate_op2(
254
}
255
256
None => {
257
- if config.fast || config.getter || config.setter {
+ if config.fast {
258
return Err(Op2Error::ShouldNotBeFast("fast"));
259
260
if config.nofast {
testing/checkin/runner/ops.rs
@@ -101,6 +101,12 @@ impl TestObjectWrap {
101
tokio::time::sleep(std::time::Duration::from_millis(ms as u64)).await;
102
Ok(())
103
104
+
105
+ #[getter]
106
+ #[string]
107
+ fn with_slow_getter(&self) -> String {
108
+ String::from("getter")
109
+ }
110
111
112
pub struct DOMPoint {
0 commit comments