Visitar URL original
Fixed several clippy warnings by ZapAnton · Pull Request #448 · RustPython/RustPython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed the toplevel_ref_arg clippy warning
  • Loading branch information
ZapAnton committed Feb 12, 2019
commit 291dba6bb61708863980da2e859318b0227beef6
2 changes: 1 addition & 1 deletion vm/src/obj/objrange.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub fn get_value(obj: &PyObjectRef) -> RangeType {
}

pub fn init(context: &PyContext) {
let ref range_type = context.range_type;
let range_type = &context.range_type;

let range_doc = "range(stop) -> range object\n\
range(start, stop[, step]) -> range object\n\n\
Expand Down