tree-wide: use 'dyn' for all trait objects

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller committed 2019-06-07 13:13:48 +02:00
1 parent e993db91cd
commit dd5495d6dc
26 files changed
+83 -81

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ fn authenticate_user(username: &str, password: &str) -> Result<(), Error> {
fn create_ticket(
param: Value,
_info: &ApiMethod,
_rpcenv: &mut RpcEnvironment,
_rpcenv: &mut dyn RpcEnvironment,
) -> Result<Value, Error> {
let username = tools::required_string_param(&param, "username")?;