Skip to content

Commit

Permalink
flake: update flake.lock (#79)
Browse files Browse the repository at this point in the history
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock)
GitHub Action.

```
Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/b02b7ca7c98eee7fe26ac18277040c3fc814b52d?narHash=sha256-F4iNNs84rdqN2ZDCKtZrE/PUIfUe6YSZM/O2sckeQr4%3D' (2024-12-23)
  → 'github:rustsec/advisory-db/3c6d3186ab06737d1defd2b5ae556d0ecd161603?narHash=sha256-Bcf7iBwrfjYPO7roKCz%2B3yPAFqgNqfKCp51sLKETjxU%3D' (2024-12-28)
• Updated input 'fenix':
    'github:nix-community/fenix/30616281e9bfe0883acb3369f2b89aad6850706f?narHash=sha256-yl/iko/0pvRN3PF6Z4FjQeb6AuGiavMENEisQWJ78h0%3D' (2024-12-23)
  → 'github:nix-community/fenix/92bb57bf88e4b8e6b4fe4e79fbfff2fc3f04df88?narHash=sha256-XbIfjxEOM6JmLCILozlFEUrfCpXvQNo9l%2BVAU7FCahI%3D' (2024-12-30)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/93ff48c9be84a76319dac293733df09bbbe3f25c?narHash=sha256-Q%2BCB1ajsJg4Z9HGHTBAGY1q18KpnnkmF/eCTLUY6FQ0%3D' (2024-12-22)
  → 'github:NixOS/nixpkgs/6d97d419e5a9b36e6293887a89a078cf85f5a61b?narHash=sha256-opBsbR/nrGxiiF6XzlVluiHYb6yN/hEwv%2BlBWTy9xoM%3D' (2024-12-30)
```

### Running GitHub Actions on this PR

GitHub Actions will not run workflows on pull requests which are opened
by a GitHub Action.

To run GitHub Actions workflows on this PR, run:

```sh
git branch -D update_flake_lock_action
git fetch origin
git checkout update_flake_lock_action
git commit --amend --no-edit
git push origin update_flake_lock_action --force
```
  • Loading branch information
itepastra authored Dec 31, 2024
2 parents 50a707a + 5e5a29b commit edc0603
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/protocols/text_protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ fn parse_coordinate(string: &str) -> io::Result<Coordinate> {
type HexChar = u8;

fn val(c1: u8, c2: u8) -> io::Result<HexChar> {
Ok((match c1 {
Ok(((match c1 {
b'A'..=b'F' => c1 - b'A' + 10,
b'a'..=b'f' => c1 - b'a' + 10,
b'0'..=b'9' => c1 - b'0',
_ => return Err(Error::from(ErrorKind::InvalidInput)),
}) << 4
}) << 4)
| (match c2 {
b'A'..=b'F' => c2 - b'A' + 10,
b'a'..=b'f' => c2 - b'a' + 10,
Expand Down

0 comments on commit edc0603

Please sign in to comment.