File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,13 +155,13 @@ where
155
155
impl < ' object > Indexer < ' object > {
156
156
#[ allow( unused_mut) ]
157
157
/// Create a new Indexer object and set the dimension specific index objects later
158
- pub fn new ( ) -> Indexer < ' object > {
158
+ pub fn new ( ) -> Self {
159
159
let mut temp: i64 = 0 ;
160
160
unsafe {
161
161
let err_val = af_create_indexers ( & mut temp as MutAfIndex ) ;
162
162
HANDLE_ERROR ( AfError :: from ( err_val) ) ;
163
163
}
164
- Indexer {
164
+ Self {
165
165
handle : temp,
166
166
count : 0 ,
167
167
marker : PhantomData ,
@@ -596,7 +596,7 @@ impl SeqInternal {
596
596
where
597
597
c_double : From < T > ,
598
598
{
599
- SeqInternal {
599
+ Self {
600
600
begin : From :: from ( s. begin ( ) ) ,
601
601
end : From :: from ( s. end ( ) ) ,
602
602
step : From :: from ( s. step ( ) ) ,
You can’t perform that action at this time.
0 commit comments