Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
rzerres
orbclient
Commits
0cf93f23
Verified
Commit
0cf93f23
authored
Nov 04, 2019
by
Jeremy Soller
Browse files
Fix for newer nightly
parent
d746b90d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib.rs
View file @
0cf93f23
#![crate_name
=
"orbclient"
]
#![crate_type
=
"lib"
]
#![cfg_attr(feature
=
"no_std"
,
feature(alloc))]
#![cfg_attr(feature
=
"no_std"
,
no_std)]
#![deny(warnings)]
#[cfg(feature
=
"no_std"
)]
extern
crate
alloc
;
...
...
src/renderer.rs
View file @
0cf93f23
...
...
@@ -515,7 +515,7 @@ pub trait Renderer {
let
start
=
offset
+
l
*
width
;
let
mut
stop
=
start
+
w
;
let
begin
=
l
*
w
;
let
mut
end
=
begin
+
w
;
let
end
=
begin
+
w
;
//check boundaries
if
start_x
+
w
>
width
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment