Skip to content

Commit 378cb23

Browse files
committed
Fix warning in MouseFunctions
1 parent 0c7808c commit 378cb23

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shared/src/main/scala/mouse/MouseFunctions.scala

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
package mouse
2323

24+
import scala.annotation.nowarn
25+
2426
trait MouseFunctions {
2527

2628
/**
@@ -30,6 +32,6 @@ trait MouseFunctions {
3032
* @param a
3133
* - the value to be evaluated and ignored.
3234
*/
33-
def ignore(a: Any): Unit = ()
35+
def ignore(@nowarn a: Any): Unit = ()
3436

3537
}

0 commit comments

Comments
 (0)