mirror of
https://github.com/microsoft/vscode.git
synced 2026-01-09 06:31:23 +08:00
refactor: fix clippy let-and-return error in linting
This commit is contained in:
parent
3de59fcc49
commit
23f2247b72
@ -54,8 +54,7 @@ impl DownloadCache {
|
||||
|
||||
/// Gets the value stored on the state
|
||||
pub fn get(&self) -> Vec<String> {
|
||||
let state_value = self.state.load();
|
||||
state_value
|
||||
self.state.load()
|
||||
}
|
||||
|
||||
/// Gets the download cache path. Names of cache entries can be formed by
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user