-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: type ref unexpectedly released (#533)
* fix: type ref unexpectedly released * feat: optimize duplicate padding items * feat: improve gc update merge performance * fix: clear flag correctly * fix: serialize infinite loop after gc * fix: assert * chore: reuse exists function * feat: add test case for pending update repeated applied
- Loading branch information
1 parent
bcef699
commit 3b37fe7
Showing
10 changed files
with
192 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
name: "Rust setup" | ||
description: "Rust setup, including cache configuration" | ||
inputs: | ||
components: | ||
description: "Cargo components" | ||
required: false | ||
targets: | ||
description: "Cargo target" | ||
required: false | ||
toolchain: | ||
description: "Rustup toolchain" | ||
required: false | ||
default: "stable" | ||
components: | ||
description: "Cargo components" | ||
required: false | ||
targets: | ||
description: "Cargo target" | ||
required: false | ||
toolchain: | ||
description: "Rustup toolchain" | ||
required: false | ||
default: "stable" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: ${{ inputs.toolchain }} | ||
targets: ${{ inputs.targets }} | ||
components: ${{ inputs.components }} | ||
- uses: Swatinem/rust-cache@v2 | ||
using: "composite" | ||
steps: | ||
- name: Setup Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: ${{ inputs.toolchain }} | ||
targets: ${{ inputs.targets }} | ||
components: ${{ inputs.components }} | ||
- uses: Swatinem/rust-cache@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
use yrs::{updates::decoder::Decode, Update}; | ||
|
||
fn main() { | ||
if let Ok(_) = Update::decode_v1(&[255, 255, 255, 122]) {}; | ||
if Update::decode_v1(&[255, 255, 255, 122]).is_ok() {}; | ||
} |