Skip to content

Commit 87a7aec

Browse files
Rename async variant to differentiate by name
Should at least make error messages easier to parse
1 parent 2b6efa2 commit 87a7aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub mod asynch {
4343
///
4444
/// The amount of time each iteration of `iterator` might take is undefined.
4545
/// Drivers, where this might lead to issues, aren't expected to work in all cases.
46-
pub trait SmartLedsWrite {
46+
pub trait SmartLedsWriteAsync {
4747
type Error;
4848
type Color;
4949
fn write<T, I>(&mut self, iterator: T) -> impl Future<Output = Result<(), Self::Error>>

0 commit comments

Comments
 (0)