Skip to content

Commit

Permalink
Made Iter the default export
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaxmax committed Feb 1, 2021
1 parent 35cd389 commit e98355d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from "https://deno.land/std/testing/asserts.ts";
import { add } from "https://deno.land/x/[email protected]/mod.ts";

import { Iter } from "./mod.ts";
import Iter from "./mod.ts";
import { none, some } from "./option.ts";
import { Result } from "./result.ts";
import { cmpNumbers, parseIntegral } from "./util.ts";
Expand Down
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type IntoIter<T> = Iterable<T> | Iterator<T>;
*
* @template T the type to iterate over
*/
export class Iter<T> implements IterableIterator<T> {
export default class Iter<T> implements IterableIterator<T> {
private readonly iter: Iterator<T>;

/**
Expand Down

0 comments on commit e98355d

Please sign in to comment.