Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

user_save() has been removed in favor of $account->save().

Code example

// Changing the username in Drupal 7.
$account = user_load(1);
$edit = array('name' => 'new_name');
user_save($account, $edit);

// Changing the username in Drupal 8.
$account = user_load(1);
$account->name = 'new_name';
$account->save();
Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done