Skip to content

Commit

Permalink
Removed superfluous PartialEq requirement on TextBuffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenithsiz committed Jun 12, 2021
1 parent 978bc05 commit 900fac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egui/src/widgets/text_edit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl CCursorPair {
/// an underlying buffer.
///
/// Most likely you will use a `String` which implements `TextBuffer`.
pub trait TextBuffer: AsRef<str> + Into<String> + PartialEq + std::fmt::Display {
pub trait TextBuffer: AsRef<str> + Into<String> + std::fmt::Display {
/// Inserts text `text` into this buffer at character index `ch_idx`.
///
/// # Notes
Expand Down

0 comments on commit 900fac2

Please sign in to comment.