Skip to content

Commit

Permalink
Add Debug trait to PagesInfo
Browse files Browse the repository at this point in the history
Remove release changes for PR
  • Loading branch information
marioCluml committed Feb 14, 2024
1 parent ec69d13 commit e5679ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ file is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and
this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased] - 2024-02-13

### Changed

- Add `Debug` to `PagesInfo` in order to support unit tests.

## [0.8.1] - 2023-11-20

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/pages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use wasm_bindgen::JsCast;
use web_sys::{HtmlInputElement, KeyboardEvent};
use yew::{events::InputEvent, html, Component, Context, Html, Properties};

#[derive(Clone, Copy, PartialEq, Eq)]
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
pub struct Info {
// starts at 1
pub current: usize, // current page
Expand Down

0 comments on commit e5679ff

Please sign in to comment.