On 25.12.2017 17:01, Steve Klabnik wrote:
You'd use them on the function signature itself, rather than the parameter.

Yeah, eg. Window::new() now takes an WindowParam struct instead of
IpcSender<BluetoothRequest>. The caller now has to prepare a proper
WindowParam that contains the bluetooth_thread if the webapi-bluetooth
feature is enabled (otherwise that field isn't even present).

--mtx

--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to