Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit ef55709

Browse files
[autofix.ci] apply automated fixes
1 parent c0b5b8e commit ef55709

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/pages/core/entrypoints/query.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import { Callout } from "nextra/components";
66

77
# Query
88

9-
In the previous section we talked about the [`execute`](./execute.mdx) endpoint. The `query` endpoint is
10-
actually pretty similar to its sibling `execute`, but with one key difference: The storage is only
11-
accessible immutably.
9+
In the previous section we talked about the [`execute`](./execute.mdx) endpoint. The `query`
10+
endpoint is actually pretty similar to its sibling `execute`, but with one key difference: The
11+
storage is only accessible immutably.
1212

1313
This means you can only _read_ from the storage but not _write_ to it.
1414

@@ -55,4 +55,3 @@ pub fn query(
5555
Ok(QueryResponse::default())
5656
}
5757
```
58-

src/pages/cw-multi-test/getting-started/counter/counter-sylvia.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,8 @@ More details about the [Item](../../../cw-storage-plus/containers/item.mdx) type
347347
integer representing a counter value.
348348

349349
More detailed explanation of the smart contract structure written in Sylvia can be found in
350-
[Sylvia documentation](../../../sylvia/basics/contract-structure.mdx), but for testing purposes we will
351-
just mention the key elements of this contract.
350+
[Sylvia documentation](../../../sylvia/basics/contract-structure.mdx), but for testing purposes we
351+
will just mention the key elements of this contract.
352352

353353
#### constructor
354354

src/pages/tutorial/cw-contract/good-practices.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ so that one can generate schema calling simply `cargo schema`.
295295

296296
## Disabling entry points for libraries
297297

298-
Since we added the "rlib" target to the contract, it is now, as previously mentioned,
299-
usable as a dependency. The problem is that the contract dependent on ours would have Wasm entry points
298+
Since we added the "rlib" target to the contract, it is now, as previously mentioned, usable as a
299+
dependency. The problem is that the contract dependent on ours would have Wasm entry points
300300
generated twice - once in the dependency and once in the final contract. We can work this around by
301301
disabling generating Wasm entry points for the contract if the crate is used as a dependency. We
302302
would use [feature flags](https://doc.rust-lang.org/cargo/reference/features.html) for that.

0 commit comments

Comments
 (0)