From 0d7d98c463b1a248847cc6b7a699e724bca48c1b Mon Sep 17 00:00:00 2001 From: pantonshire Date: Tue, 29 Aug 2023 09:07:05 +0100 Subject: [PATCH] fix README code example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f5c144f..76c13e9 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ tx sends raw un-debounced events to the debouncer, and the rx receives the debou the debouncer. Both halves can be cloned to allow for multiple senders and receivers. ```rust -# use std::{thread, time::Duration}; +use std::{thread, time::Duration}; + // Create a new debouncer which takes raw events of type `u32` and outputs // debounced events of type `Vec`. let (tx, rx) = treacle::debouncer::, _>(